Changeset 193
- Timestamp:
- Aug 27, 2010, 6:43:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
drbl-virt/sbin/drbl_PXE_PV-VM_create.sh
r192 r193 138 138 fi 139 139 140 vm_cfg=${ home_dir}/${vm_name}.cfg140 vm_cfg=${vm_dir}/${vm_name}.cfg 141 141 142 142 if [ -e $vm_cfg ]; then … … 148 148 echo "ramdisk = '/home/domains/initrd-pxe.img'" >> $vm_cfg 149 149 echo "memory = '512'" >> $vm_cfg 150 echo "name = \'$vm_name\'" >> $vm_cfg151 echo "vcpus = \'$vm_cpu\'" >> $vm_cfg150 echo "name = '$vm_name'" >> $vm_cfg 151 echo "vcpus = '$vm_cpu'" >> $vm_cfg 152 152 echo "dhcp = 'dhcp'" >> $vm_cfg 153 echo "vif = [ \'mac=$vm_mac\']" >> $vm_cfg153 echo "vif = [ 'mac=$vm_mac']" >> $vm_cfg 154 154 echo "on_poweroff = 'destroy'" >> $vm_cfg 155 155 echo "on_reboot = 'restart'" >> $vm_cfg
Note: See TracChangeset
for help on using the changeset viewer.