Browse 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 10 years ago
parent
commit
73d8868c8a
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      bin/make-base-vm

+ 7
- 1
bin/make-base-vm View File

@@ -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


Loading…
Cancel
Save