Respond to remctl install requests by passing the options onto Xen
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-boot
index ff0241d..7a9cb81 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 #!/bin/sh
-machine=$2
-cdrom=$3
+machine="$2"
+cdrom="$3"
 
 if [ -n "$cdrom" ]; then
 
 if [ -n "$cdrom" ]; then
-        xm create sipb-database machine_id="$machine" cdrom_image="$cdrom"
+        xm create sipb-database machine_name="$machine" cdrom_image="$cdrom"
 else
 else
-        xm create sipb-database machine_id="$machine"
+        xm create sipb-database machine_name="$machine"
 fi
 fi