Ignore:
Timestamp:
02/14/14 08:53:51 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
releng/10.0
Children:
0604f47
Parents:
43efee0
git-author:
Kris Moore <kris@…> (02/14/14 08:52:22)
git-committer:
Kris Moore <kris@…> (02/14/14 08:53:51)
Message:

Fix bugs creating linux jails debian and gentoo via the Warden

This was a result of a merge with some FreeNAS changes which didn't apply to
our version of Warden

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/warden/linux-installs/debian-6-squeeze

    r70427a2 r84e6670  
    2828 
    2929    debootstrap squeeze ${TDIR} 
     30    if [ $? -ne 0 ] ; then 
     31      exit 1 
     32    fi 
    3033 
    3134    umount -f ${TDIR}/dev/fd >/dev/null 2>/dev/null 
     
    6972main() 
    7073{ 
    71     case "${1}" in 
    72       get_distfiles) shift; get_distfiles "$@" ;;  
    73       template_install) shift; template_install "$@" ;; 
    74       jail_configure) shift; jail_configure "$@" ;; 
    75       error) shift; error "$@" ;; 
    76     esac 
    7774 
    78     if [ "$?" != "0" ] ; then 
    79       touch "${ERRORFILE}" 
    80     fi 
     75    template_install "$1" 
     76 
     77    jail_configure "$3" 
     78 
     79    exit 0 
    8180} 
    8281 
    8382 
     83# Arg1 = Directory # Arg2 = IP # Arg3 = Meta File 
    8484main "$@" 
Note: See TracChangeset for help on using the changeset viewer.