X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Finstall-kvm.creole;h=0286f1e82bfe2ad67c682a2bd49a35e26b4e5fed;hb=8184f9e40f2bf0d86c4e603bcd167493605822aa;hp=52ced29c7d834a23054d5be7c2deb3ec852d4cfb;hpb=7a93ee704a4171de015e5058a153c68f4ed3e1b8;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/install-kvm.creole b/input/howto/install-kvm.creole index 52ced29..0286f1e 100644 --- a/input/howto/install-kvm.creole +++ b/input/howto/install-kvm.creole @@ -99,7 +99,7 @@ trivial. fi && cd "$target" && - debootstrap --variant=minbase --keyring=/usr/share/keyrings/debian-archive-keyring.gpg squeeze . "$mirror" + debootstrap --variant=minbase --keyring=/usr/share/keyrings/debian-archive-keyring.gpg stable . "$mirror" }}} And finalize the setup: @@ -199,6 +199,14 @@ And set a password: chroot . passwd }}} +Set a nameserver config that works once the VM has booted. Later in the process we will install unbound anyway. +{{{ +cat > etc/resolv.conf << EOF +nameserver 8.8.8.8 +search debian.org +EOF +}}} + And unmount: {{{ @@ -213,7 +221,7 @@ And unmount: === virsh setup === -Setup a new kvm domain by creating a new file in /etc/da-virt/`hostname/$guest.xml. +Setup a new kvm domain by creating a new file in /etc/dsa-kvm/`hostname/$guest.xml. * Properly configure hostname * Pick a new uuid ({{{uuidgen}}})