fa80b0cabe
Update subiquity welcome controller to call probert to extract host information and present it to the user briefly before invokin the curtin installer. Add the install_src to git clone probert. Pack this as a tarball in the user-data like subiquity. Update user-data package installs for new probert deps. Modify boot parameters to handle systemd persistent nic naming; we may not always have eth0 as a nic. Subsequently update user-data to use bootcmd to automatically attempt to bring up nics during the boot before the installer. Finally fix commandline parsing/output in geninstaller. Implement version parameter and better caching of previous maas ephemeral images. Fix issue with removing cache after unpacking rootfs which is now owned by root (add sudo to rm of cache). Signed-off-by: Ryan Harper <ryan.harper@canonical.com> |
||
---|---|---|
.. | ||
resources | ||
README.md | ||
geninstaller | ||
runinstaller | ||
usquery |
README.md
Getting Started
Install package dependencies:
PKGS="
bzr
extlinux
gdisk
kpartx
parted
qemu-system-x86
qemu-utils
syslinux-common
"
apt-get install $PKGS
Generate the install image
./geninstaller.sh
Run the installer
# generate target device
qemu-img create -f raw target.img 10G
# run installer
sudo qemu-system-x86_64 -m 1024 -enable-kvm \
-hda installer.img -hdb test.img \
-serial telnet:127.0.0.1:2445,server,nowait \
-monitor stdio
# login and shutdown, ubuntu/passw0rd
Boot the installed image
sudo qemu-system-x86_64 -m 1024 -enable-kvm \
-hda test.img \
-serial telnet:127.0.0.1:2445,server,nowait