Ignore:
Timestamp:
Feb 2, 2009, 5:32:27 PM (15 years ago)
Author:
broder
Message:

Correctly calculate the lists of both the sysvms to startup and the
Mako templates to render in the invirt-xen-config startup script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-xen-config/debian/invirt-xen-config.init

    r2067 r2085  
    1414DESC="Invirt Xen host"
    1515PARENTPACKAGE=xend
    16 SYSVM_FILES=(/etc/xen/sysvms/s_*)
     16SYSVM_TEMPLATES=(/etc/xen/sysvms/s_*.mako)
     17SYSVM_FILES=("${SYSVM_TEMPLATES[@]/.mako/}")
    1718SYSVMS=("${SYSVM_FILES[@]/#\/etc\/xen\/sysvms\/}")
    18 GEN_FILES=(/etc/xen/xend-config.sxp.invirt)
     19GEN_FILES=(/etc/xen/xend-config.sxp.invirt "${SYSVM_FILES[@]}")
    1920
    2021dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0
Note: See TracChangeset for help on using the changeset viewer.