From 536e7ff571614e53702a0f2f8e9e888f8dd87fa5 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Sun, 6 Aug 2017 17:05:57 -0400 Subject: try to automate booting to d-i --- README.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b27080c..d60e284 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,8 @@ Recommendations +++++++++++++++ * `openssh-server` : i've been using ssh to access the vm's serial console - + * `debian-installer-netboot` : having one of the d-i netboot packages installed makes guest installation easier + INSTALLATION ------------ @@ -101,19 +102,31 @@ additional access to other users. At this point, your virtual server is created, however, it has no operating system and it has not been started. -There are two options for installing debian onto the virtual server: +There are three options for installing debian onto the virtual server: + * debian-installer * netboot * iso (like a CD install) -To use netboot, make sure you have a working DHCP server running on your -host server and offering addresses over your bridge interface. + +"debian-installer" is the simplest, but it requires that you have one +of the debian-installer-netboot packages installed +(e.g. `debian-installer-9-netboot-amd64`): + + touch /home/$GUESTNAME/vms/$GUESTNAME/debian-installer + +Once the guest starts with the installer, you can remove this file to +avoid booting back into the installer. + +To use the "netboot" method, make sure you have a working DHCP server +running on your host server and offering addresses over your bridge +interface. Then, indicate that the server should boot via the network with: touch /home/$GUESTNAME/vms/$GUESTNAME/netboot -Alternatively, you can make a debian boot ISO image: +Finally, you can make a debian boot ISO image: * Make the directory /usr/local/share/ISOs * Create a serial console enabled debian installer. -- cgit v1.2.3