subiquity/installer
Ryan Harper 2cf528d6d3 Fix serial mode
We can't use curses_display with an external event loop (tornado).  The good
news is that we don't have to.  Instead we switch to using agetty to bypass
login, specify the installer and options to execture.  This also handles
respawning the installer and works both on serial and without.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-14 16:40:28 -05:00
..
resources Fix serial mode 2015-09-14 16:40:28 -05:00
README.md Initial import of installer image building 2015-06-15 14:38:51 -05:00
geninstaller Drop python3-parted use 2015-08-27 14:26:37 -05:00
runinstaller Hide floppy error output 2015-07-06 13:55:42 -05:00
usquery Initial import of installer image building 2015-06-15 14:38:51 -05:00

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