Fix makevm
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 15:35:40 +0000 (17:35 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 15:35:40 +0000 (17:35 +0200)
ex/makevm

index 433370f71357a9ca16b2337faa33439eda9d893a..306b6cb130a47ff62db86bb56475ff401d9d8fa4 100755 (executable)
--- a/ex/makevm
+++ b/ex/makevm
@@ -1,7 +1,6 @@
 #!/bin/bash
-[ `id -u` -eq 0 ] || echo 'This script must be run as root' && exit 1
 rm -rf vm/ vm.squashfs
-multistrap -f vm.conf
+multistrap -f ex/vm.conf
 ln -s vm/usr/bin/mawk vm/bin/awk
 echo 'virtfs /mnt 9p trans=virtio,auto 0 0' > vm/etc/fstab
 echo '/sbin/poweroff -f' > vm/.bash_logout
This page took 0.010992 seconds and 4 git commands to generate.