summaryrefslogtreecommitdiffstats
path: root/testboot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testboot.sh')
-rwxr-xr-xtestboot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/testboot.sh b/testboot.sh
index 4c97b7e..9cb6f0d 100755
--- a/testboot.sh
+++ b/testboot.sh
@@ -57,7 +57,7 @@ get_modules() {
echo "$kv" | tee $dir/vmlinuz.kv
if [ ! -d /lib/modules/$kv ]; then
echo -n "getting modules..."
- cp -a $1/moddir /lib/modules/$kv
+ cp -a $moddir /lib/modules/$kv
echo "done"
fi
}
@@ -160,6 +160,7 @@ virt-install --name testboot --ram $ram --graphics $graphics \
--os-type linux --os-variant fedora16 $console \
--disk $disk,size=10 --disk $disk2,size=10 \
--network network=default,model=virtio,mac=52:54:00:03:31:38 \
+ --network network=default,model=virtio,mac=52:54:00:03:31:39 \
${usecd:+--disk $cdrom,device=cdrom} \
${bootarg:+--boot "$bootarg"}
virsh destroy testboot &>/dev/null