Parcourir la source

Use server kernel for Hardy amd64.

Hardy (and probably others) doesnt have a linux-image-virtual for
amd64, thus we use the server kernel.
tags/0.1
Matt Corallo il y a 10 ans
Parent
révision
73d8868c8a
1 fichiers modifiés avec 7 ajouts et 1 suppressions
  1. 7
    1
      bin/make-base-vm

+ 7
- 1
bin/make-base-vm Voir le fichier

@@ -63,7 +63,13 @@ fi

rm -rf $OUT

sudo vmbuilder kvm ubuntu --arch=$ARCH --suite=$SUITE --addpkg=openssh-server,pciutils,build-essential,git-core,subversion --ssh-key=var/id_dsa.pub --ssh-user-key=var/id_dsa.pub --mirror=$MIRROR --security-mirror=$SECURITY_MIRROR --dest=$OUT --flavour=virtual --firstboot=`pwd`/target-bin/bootstrap-fixup
FLAVOUR=virtual

if [ $ARCH = "amd64" -a $SUITE = "hardy" ]; then
FLAVOUR=server
fi

sudo vmbuilder kvm ubuntu --arch=$ARCH --suite=$SUITE --addpkg=openssh-server,pciutils,build-essential,git-core,subversion --ssh-key=var/id_dsa.pub --ssh-user-key=var/id_dsa.pub --mirror=$MIRROR --security-mirror=$SECURITY_MIRROR --dest=$OUT --flavour=$FLAVOUR --firstboot=`pwd`/target-bin/bootstrap-fixup

mv $OUT/*.qcow2 $OUT.qcow2


Chargement…
Annuler
Enregistrer