Changeset 2899 for trunk


Ignore:
Timestamp:
Jan 17, 2010, 7:08:13 PM (15 years ago)
Author:
gdb
Message:

Changed xen.network -> xen; fixed style for omitted option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-autoinstaller/common/usr/sbin/invirt-create-image

    r2849 r2899  
    1111set -e
    1212
    13 if [ "$GATEWAY" = "" ]; then
    14     GATEWAY=$(invirt-getconf xen.network.gateway)
     13if [ -z "$GATEWAY" ]; then
     14    GATEWAY=$(invirt-getconf network.gateway)
    1515fi
    1616
    17 if [ "$NETMASK" = "" ]; then
    18     NETMASK=$(invirt-getconf xen.network.netmask)
     17if [ -z "$NETMASK" ]; then
     18    NETMASK=$(invirt-getconf network.netmask)
    1919fi
    2020
Note: See TracChangeset for help on using the changeset viewer.