From 496c15bbe4f1361bfdaafe2324f6e25a8fad2050 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 23 Mar 2010 11:52:19 -0400 Subject: do not pass hostname= sub-arg to -net, since we are using tap, not user networking --- kvm-manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvm-manager') 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 } -- cgit v1.2.3