aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-03-23 11:52:19 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-03-23 11:52:19 -0400
commit496c15bbe4f1361bfdaafe2324f6e25a8fad2050 (patch)
tree8ec80be46cb15a76253c16bb7036054fc0130741
parent0aa9fdf0b485c3dd2c75107896da4bd37f3a5ada (diff)
downloadkvm-manager-496c15bbe4f1361bfdaafe2324f6e25a8fad2050.tar.gz
kvm-manager-496c15bbe4f1361bfdaafe2324f6e25a8fad2050.tar.bz2
do not pass hostname= sub-arg to -net, since we are using tap, not user networking
-rwxr-xr-xkvm-manager2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager
index aee3dbb..caadd1b 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -59,7 +59,7 @@ up() {
chpst -u "$OWNER" mv "$LOGNAME" "$LOGNAME".$(date +%F_%T%z|tr : .)
fi
- exec chpst -u "$OWNER:$OWNERGROUP:kvm" /usr/bin/screen -D -m -L -c /etc/screenrc.kvm-manager -S "$VMNAME" -t "$VMNAME" -s /bin/false /usr/bin/kvm $KVMARGS -nographic -name "$VMNAME" -m "$RAM" -net nic,"macaddr=$MAC" -net "tap,hostname=$VMNAME,ifname=$TAP,script=no,downscript=no" -no-reboot -serial stdio
+ exec chpst -u "$OWNER:$OWNERGROUP:kvm" /usr/bin/screen -D -m -L -c /etc/screenrc.kvm-manager -S "$VMNAME" -t "$VMNAME" -s /bin/false /usr/bin/kvm $KVMARGS -nographic -name "$VMNAME" -m "$RAM" -net nic,"macaddr=$MAC" -net "tap,ifname=$TAP,script=no,downscript=no" -no-reboot -serial stdio
}