aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvm-creator4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvm-creator b/kvm-creator
index 69a56d5..5b5771a 100755
--- a/kvm-creator
+++ b/kvm-creator
@@ -30,7 +30,7 @@ if [ "$?" -eq 0 ]; then
else
TAP=tap0
# use a locally-administered MAC address:
- MAC=02:00:00:00:00:01
+ MAC=${6:-02:00:00:00:00:01}
fi
usage() {
@@ -150,7 +150,7 @@ EOF
demo() {
validate
- for foo in NAME VG TAP RAM MAC SIZE DISK ; do
+ for foo in NAME VG SIZE RAM TAP MAC DISK ; do
echo "$foo : ${!foo}"
done