]> gitweb.fluxo.info Git - kvm-manager.git/commitdiff
do not pass hostname= sub-arg to -net, since we are using tap, not user networking
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 23 Mar 2010 15:52:19 +0000 (11:52 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 23 Mar 2010 15:52:19 +0000 (11:52 -0400)
kvm-manager

index aee3dbb0f7bb16a507f5a57cd378c4e918e9d1bc..caadd1b183cd1db865470c204e6061b5e62f4b44 100755 (executable)
@@ -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
 }