}
cleanup() {
-# if something fails here, it souldn't call cleanup again...
+ # if something fails here, it shouldn't call cleanup again...
trap - EXIT
if [ ${#CLEANUP[*]} -gt 0 ]; then
# synchronous and may return while the partition is still busy. A
# premature attempt to delete partition mappings through kpartx on a
# device that hosts previously mounted ntfs partition may fail with
- # an `device-mapper: remove ioctl failed: Device or resource busy'
+ # a `device-mapper: remove ioctl failed: Device or resource busy'
# error. A sensible workaround for this is to wait for a while and
# then try again.
local cmd=${CLEANUP[$i]}
#
# Copyright (c) 2011 Greek Research and Technology Network
#
-"""Generate a Hash from a given Password
+"""Generate a hash from a given password
-This program takes a Password as an argument and
+This program takes a password as an argument and
returns to standard output a hash followed by a newline.
-To do this, it generates internally a random salt.
+To do this, it generates a random salt internally.
"""
# Provides: ResizeUnmounted
# RunBefore: MountImage
# Short-Description: Resize filesystem to use all the available space
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# Provides: MountImage
# RunBefore: UmountImage
# Short-Description: Mount the partition that hosts the image
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# RunBefore: UmountImage
# RunAfter: MountImage
# Short-Description: Script that removes Unattend.xml after setup has finished
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# Provides: DeleteSSHKeys
# Requires: MountImage
# Short-Description: Remove ssh keys if present.
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# RunBefore: UmountImage
# RunAfter: MountImage
# Short-Description: Installs Unattend.xml for unattended windows setup
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# RunBefore: UmountImage
# RunAfter: MountImage
# Short-Description: Resize filesystem to use all the available space
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# RunBefore: UmountImage
# RunAfter: MountImage
# Short-Description: Force the system to relabel at next boot
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# RunBefore: UmountImage
# RunAfter: InstallUnattend
# Short-Description: Assign the Hostname of Computer Name in the instance
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# RunBefore: UmountImage
# RunAfter: InstallUnattend
# Short-Description: Changes Password for specified users
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# RunBefore:
# RunAfter: MountImage
# Short-Description: Umount the partition that hosts the image
-### END TAST INFO
+### END TASK INFO
set -e
. "@commondir@/common.sh"
# QEMU_IMG="qemu-img"
# INSTALL_MBR="install-mbr"
# TIMELIMIT="timelimit"
-# if [ "$windows_support" = "yes" ] ; then
-# PROGRESS_MONITOR="snf-progress-monitor"
-# fi
+# PROGRESS_MONITOR="snf-progress-monitor"