diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-03-23 11:52:19 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2010-03-23 11:52:19 -0400 |
commit | 496c15bbe4f1361bfdaafe2324f6e25a8fad2050 (patch) | |
tree | 8ec80be46cb15a76253c16bb7036054fc0130741 | |
parent | 0aa9fdf0b485c3dd2c75107896da4bd37f3a5ada (diff) | |
download | kvm-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-x | kvm-manager | 2 |
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 } |