subiquity/installer
Michael Hudson-Doyle ee0ff4a583 prevent cloud-init creating the default user
both in the installer image and target system

for https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1659170
2017-01-25 16:14:57 +13:00
..
resources prevent cloud-init creating the default user 2017-01-25 16:14:57 +13:00
README.md prevent cloud-init creating the default user 2017-01-25 16:14:57 +13:00
geninstaller and with that, we no longer depend on tornado 2017-01-18 12:02:34 +13:00
runinstaller Fix installer to work with latest curtin 2015-12-04 09:01:19 -06: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
qemu-system-x86
qemu-utils
"
apt-get install $PKGS

Grab a copy of curtin (for some conversion tools):

mkdir -p ~/download
cd ~/download
bzr branch lp:curtin

Generate the install image from subiquity's root directory:

installer/geninstaller -a amd64 -b grub2 -r zesty

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 target.img \
     -serial telnet:127.0.0.1:2445,server,nowait \
     -monitor stdio

Boot the installed image

sudo qemu-system-x86_64 -m 1024 -enable-kvm \
     -hda target.img \
     -serial telnet:127.0.0.1:2445,server,nowait