Last active
December 15, 2025 11:21
-
-
Save AndreiCherniaev/bf2248d46f2ec7972764eddb0009bc61 to your computer and use it in GitHub Desktop.
For HGST proj ubuntu deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Manual https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html | |
| autoinstall: | |
| version: 1 | |
| refresh-installer: | |
| update: true | |
| channel: 26.04/edge | |
| updates: all | |
| identity: | |
| hostname: ubuntu-desktop | |
| password: '$6$TThZwH2sYnfxdzIN$COsmkwowJBH.pYW/jpfhzcBsxSQ6.lrEygIGUQLDrJBsTBgT1gLnkspvttBmgKIJl6UGGSOv4cDfV4Hj0BqS9/' | |
| # There is password hash, use `mkpasswd --method=SHA-512` | |
| realname: q | |
| username: q | |
| apt: | |
| preserve_sources_list: false | |
| mirror-selection: | |
| primary: | |
| - country-mirror | |
| - uri: "http://ko.archive.ubuntu.com/ubuntu" | |
| arches: [amd64] | |
| geoip: true | |
| keyboard: | |
| layout: us | |
| variant: '' | |
| toggle: null | |
| timezone: Asia/Seoul | |
| interactive-sections: | |
| - storage | |
| # storage: | |
| # swap: | |
| # size: 0 | |
| # layout: | |
| # name: direct | |
| # match: | |
| # ssd: true | |
| ssh: | |
| allow-pw: false | |
| authorized-keys: | |
| - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKMYUmLg3GRx1UwdKqKwTI3lr/xeFKC8HYOULU3RScAZ ssh key Ground Station | |
| install-server: false | |
| late-commands: | |
| - curtin in-target -- sudo -u q bash -c 'alias lowpwr="'"sudo cpupower frequency-set -g powersave"'"' | |
| - | | |
| sudo bash -c 'cat << EOF > /etc/systemd/system/92-rotctld.service | |
| [Unit] | |
| Description=Rotctl Spid Service | |
| [Service] | |
| ExecStart=rotctld -vvvvv -m 903 -r /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AQ007I1H-if00-port0 -s 115200 | |
| # ExecStart=rotctld -vvvvv -m 903 -r /dev/ttyUSB0 -s 115200 | |
| [Install] | |
| WantedBy=multi-user.target | |
| EOF' | |
| - curtin in-target -- systemctl enable 92-rotctld.service | |
| - curtin in-target -- apt -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update | |
| - curtin in-target -- add-apt-repository -y ppa:nuandllc/bladerf | |
| - curtin in-target -- apt install -y tmux openssh-server gnuradio gpredict bladerf btop htop curl fd-find |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Always verify your YAML before using. How to do it? Use subiquity