subiquity/installer
Ryan Harper 50d859e866 Reduce size of rootfs layer and common mkfs and rsync options
Attempt to shrink the partition size for the rootfs via mkfs options
Ensure we use the same mkfs and rsync options everywhere.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-28 09:56:09 -05:00
..
resources Filter out lxcbr0 from network autostart 2015-10-27 10:12:28 -05:00
README.md Initial import of installer image building 2015-06-15 14:38:51 -05:00
geninstaller Reduce size of rootfs layer and common mkfs and rsync options 2015-10-28 09:56:09 -05:00
runinstaller Fix install when using raid devices 2015-10-27 10:12:28 -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