Searched refs:root_password (Results 1 - 5 of 5) sorted by relevance

/lxc/templates/
H A Dlxc-centos.in35 # If the "root_password" is non-blank, use it, else set a default.
55 # :{root_password='Root-${name}-${RANDOM}'}
56 : ${root_password='Root-${name}-XXXXXX'}
358 echo "Setting root password to '$root_password'"
364 echo ${root_password} > ${config_path}/tmp_root_pass
368 echo "root:$root_password" | chroot $rootfs_path chpasswd
781 if [ "${root_password}" = "" ]
783 root_password=Root-${name}-${RANDOM}
786 if [ $(expr "${root_password}" : '.*$.') != 0 ]
788 root_password
[all...]
H A Dlxc-fedora.in35 # If the "root_password" is non-blank, use it, else set a default.
55 # :{root_password='Root-${name}-${RANDOM}'}
56 : ${root_password='Root-${name}-XXXXXX'}
293 echo "Setting root password to '$root_password'"
299 echo ${root_password} > ${config_path}/tmp_root_pass
303 echo "root:$root_password" | chroot $rootfs_path chpasswd
1292 if [ "${root_password}" = "" ]
1294 root_password=Root-${name}-${RANDOM}
1297 if [ $(expr "${root_password}" : '.*$.') != 0 ]
1299 root_password
[all...]
H A Dlxc-altlinux.in158 if [ -n "${root_password}" ]; then
159 echo "setting root passwd to $root_password"
160 echo "root:$root_password" | chroot $rootfs_path chpasswd
H A Dlxc-openmandriva.in112 [ -z "$root_password" ] && return # pass is empty, abort
115 echo "root passwd is: $root_password"
116 echo "root:$root_password" | chroot "$rootfs_path" chpasswd
H A Dlxc-archlinux.in202 [-r|--root_password=<root password>] [-P|--packages=<pkg1,pkg2,...>]
216 -r,--root_password set container root password
222 options=$(getopt -o hp:P:e:d:n:c:a:r: -l help,rootfs:,path:,packages:,enable_units:,disable_units:,name:,config:,arch:,root_password: -- "${@}")
241 -r|--root_password) root_passwd=${2}; shift 2;;

Completed in 16 milliseconds