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

/lxc/templates/
H A Dlxc-gentoo.in68 # a die function is always a good idea
69 die()
145 || die 8 "\$cacheroot (%s) IS EMPTY OR MADE OF ONLY DIRECTORY SEPARATORS, THIS IS *VERY* BAD!\n" "${cacheroot}"
164 || die 6 "Error: unable to fetch\n"
171 || die 6 "Error: unable to fetch or untar\n"
176 || die 6 "unable to untar ${tarball} to ${partialfs}"
181 chroot ${partialfs} /bin/true || die 1 "Error: chroot %s /bin/true, failed" "${partialfs}"
196 || die 6 "Error: unable to fetch\n"
207 [[ -w "$INITTAB" ]] || die 1 "Error: $INITTAB is not writeable"
307 die
[all...]
H A Dlxc-alpine.in95 die() {
204 [ -n "$pkg_ver" ] || die 2 "Cannot find a version of $pkg_name in APKINDEX"
209 [ -f "$dest/sbin/apk.static" ] || die 2 'apk.static not found'
216 || die 2 'Signature verification for apk.static failed'
222 [ "${out%% *}" = 'apk-tools' ] || die 3 'apk.static --version failed'
257 || die 3 'Failed to execute /bin/true in chroot, the builded rootfs is broken!'
404 die 1 "This script must be run as 'root'"
456 die 1 "This template can't be used for unprivileged containers." \
476 [ -n "$name" ] || die 1 'Missing required option --name'
477 [ -n "$path" ] || die
[all...]
H A Dlxc-sparclinux.in47 die()
309 mkdir -p $cfg_dir || die "unable to create config dir $cfg_dir"
316 cat <<EOF >> $cfg_dir/config || die "unable to create $cfg_dir/config"
356 cat <<EOF >> $cfg_dir/config || die "unable to create $cfg_dir/config"
369 btrfs subvolume snapshot $template_rootfs $container_rootfs || die "btrfs clone template"
372 cp -axT $template_rootfs $container_rootfs || die "copy template"
441 die "The $cmd command is required, please install it"
449 die "The template is busy."
471 die "Unsupported release $container_release_major"
477 die "Unabl
[all...]
H A Dlxc-oracle.in43 die()
475 mkdir -p $cfg_dir || die "unable to create config dir $cfg_dir"
482 cat <<EOF >> $cfg_dir/config || die "unable to create $cfg_dir/config"
527 cat <<EOF >> $cfg_dir/config || die "unable to create $cfg_dir/config"
540 btrfs subvolume snapshot $template_rootfs $container_rootfs || die "btrfs clone template"
543 cp -axT $template_rootfs $container_rootfs || die "copy template"
623 die "The $cmd command is required, please install it"
631 die "The template is busy."
666 die "Unsupported release $container_release_major"
672 die "Unabl
[all...]
/lxc/src/lua-lxc/test/
H A Dapitest.lua51 function die(...) function
297 die("Usage: apitest <options>\n" ..

Completed in 13 milliseconds