How would I go about installing CoreOS on a single machine as the host OS?
I have read "Installing CoreOS to Disk" and ran the coreos-install
script from Debian and CentOS live CDs, but both seem to miss the -p
argument for the lsblk
command which the script needs to load config files. Even after I updated util-linux, it is still not working.
Is using a live CD the right approach? PXE isn't an option in my situation.
Solution: In the end I used the latest Arch linux live cd, that worked fine.
$ wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install
$ sudo bash coreos-install -d /dev/sda
$ mkdir rootfs
$ mount -t btrfs -o subvol=root /dev/sda9 rootfs #sda9 is the default root partition
$ mkdir -p rootfs/var/lib/coreos-install
$ wget http://bit.ly/abcd #the location of your cloud config file
$ mv abcd rootfs/var/lib/coreos-install/user_data