Created
May 1, 2020 12:19
-
-
Save Miesvanderlippe/d195df2d9755b5a9c48a4ae551e53ce5 to your computer and use it in GitHub Desktop.
Hack to enable true auto-install for Ubuntu 20.04 with cloud-init nocloud
This file contains 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
#cloud-config | |
runcmd: | |
- [eval, 'echo $(cat /proc/cmdline) "autoinstall" > /root/cmdline'] | |
- [eval, 'mount -n --bind -o ro /root/cmdline /proc/cmdline'] | |
- [eval, 'snap restart subiquity.subiquity-service'] | |
autoinstall: | |
version: 1 | |
identity: | |
hostname: hack-nation | |
username: superb-hacker | |
password: $hashed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works like a charm for ubuntu24