diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-06-06 19:30:21 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2011-06-06 19:30:21 -0400 |
commit | 849fc60ffa6f9d1276be10cfbcc94e6134692d85 (patch) | |
tree | 9fe33bacf4f8eb0c70f01587680f843e11da0970 | |
parent | a5d7b72899d5959a3dc305d1ee39c5cb64966fbc (diff) | |
download | kvm-manager-849fc60ffa6f9d1276be10cfbcc94e6134692d85.tar.gz kvm-manager-849fc60ffa6f9d1276be10cfbcc94e6134692d85.tar.bz2 |
silly bugfix
-rwxr-xr-x | kvm-manager | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager index 3e575c6..a8616c3 100755 --- a/kvm-manager +++ b/kvm-manager @@ -19,7 +19,7 @@ if [ -z "$VMNAME" ] ; then exit 1 fi -TAP="${TAP:-${NAME}}" +TAP="${TAP:-${VMNAME}}" # MAC address is derived from a hash of the host's name and the guest's name: MAC="${MAC:-$(printf "02:%s" "$(printf "%s\0%s" "$(hostname)" "${VMNAME}" | sha256sum | sed 's/\(..\)/\1:/g' | cut -f1-5 -d:)" )}" |