Changeset 193 for drbl-virt/sbin


Ignore:
Timestamp:
Aug 27, 2010, 6:43:46 PM (14 years ago)
Author:
rock
Message:

BugFix?: correct path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-virt/sbin/drbl_PXE_PV-VM_create.sh

    r192 r193  
    138138fi
    139139
    140 vm_cfg=${home_dir}/${vm_name}.cfg
     140vm_cfg=${vm_dir}/${vm_name}.cfg
    141141
    142142if [ -e $vm_cfg ]; then
     
    148148echo "ramdisk     = '/home/domains/initrd-pxe.img'" >> $vm_cfg
    149149echo "memory      = '512'" >> $vm_cfg
    150 echo "name        = \'$vm_name\'" >> $vm_cfg
    151 echo "vcpus        = \'$vm_cpu\'" >> $vm_cfg
     150echo "name        = '$vm_name'" >> $vm_cfg
     151echo "vcpus        = '$vm_cpu'" >> $vm_cfg
    152152echo "dhcp        = 'dhcp'" >> $vm_cfg
    153 echo "vif         = [ \'mac=$vm_mac\']" >> $vm_cfg
     153echo "vif         = [ 'mac=$vm_mac']" >> $vm_cfg
    154154echo "on_poweroff = 'destroy'" >> $vm_cfg
    155155echo "on_reboot   = 'restart'" >> $vm_cfg
Note: See TracChangeset for help on using the changeset viewer.