Revision 981845ed

b/example/hooks/linux/root_passwd
13 13

  
14 14
HASH=$(${TOOLS_DIR}/snf-passtohash.py -p $IMG_PASSWD)
15 15

  
16
CLEANUP=( )
17

  
16 18
trap cleanup EXIT
17 19

  
18 20
declare -a USERS
......
20 22
USERS+=("root")
21 23

  
22 24
get_os ${TARGET}
23
if [ " $OPERATING_SYSTEM" = " ubuntu" ] ; then
25
if [ "x$OPERATING_SYSTEM" = "xubuntu" -o \
26
     "x$OPERATING_SYSTEM" = "xfedora" ] ; then
24 27
    USERS+=("user")
25 28
fi
26 29

  

Also available in: Unified diff