/lxc/src/tests/ |
H A D | lxc-test-ubuntu | 44 for template in ubuntu ubuntu-cloud; do 50 name=lxc-test-$template 53 lxc-create -t $template -n $name || FAIL "creating $template container" 54 lxc-start -n $name -d || FAIL "starting $template container" 55 lxc-wait -n $name -s RUNNING || FAIL "waiting for $template container to run" 62 [ -n "$lxcip" ] || FAIL "to start networking in $template container" 65 ping6 -c 1 $lxcip || FAIL "to ping $template container" 67 ping -c 1 $lxcip || FAIL "to ping $template container"
|
H A D | snapshot.c | 59 char *template = "busybox"; local 62 template = argv[1]; 80 if (!c->createl(c, template, NULL, NULL, 0, NULL)) { 81 fprintf(stderr, "%s: %d: failed to create %s container\n", __FILE__, __LINE__, template);
|
H A D | attach.c | 300 * @template : template to use when creating the container 304 const char *template) 326 if (!ct->createl(ct, template, NULL, NULL, 0, NULL)) { 349 static int test_attach(const char *lxcpath, const char *name, const char *template) argument 355 ct = test_ct_create(lxcpath, NULL, name, template); 302 test_ct_create(const char *lxcpath, const char *group, const char *name, const char *template) argument
|
H A D | cgpath.c | 123 const char *template) 147 if (!c->createl(c, template, NULL, NULL, 0, NULL)) { 121 test_container(const char *lxcpath, const char *group, const char *name, const char *template) argument
|
H A D | console.c | 116 * @template : template to use when creating the container 120 const char *template) 143 if (!c->createl(c, template, NULL, NULL, 0, NULL)) { 118 test_console(const char *lxcpath, const char *group, const char *name, const char *template) argument
|
H A D | concurrent.c | 35 static const char *template = "busybox"; variable 40 { "template", required_argument, NULL, 't' }, 55 " -t, --template=t Template to use (default: busybox)\n" 94 if (!c->create(c, template, NULL, NULL, 1, NULL)) { 166 template = optarg;
|
/lxc/src/lxc/tools/ |
H A D | lxc_create.c | 75 case 't': args->template = arg; break; 92 {"template", required_argument, 0, 't'}, 110 if (!args->template) 119 path = get_template_path(args->template); 134 --name=NAME --template=TEMPLATE [OPTION...]\n\ 141 -t, --template=TEMPLATE Template to use to setup container\n\ 224 if (!my_args.template) { 225 fprintf(stderr, "A template must be specified.\n"); 230 if (strcmp(my_args.template, "none") == 0) 231 my_args.template [all...] |
/lxc/src/lxc/ |
H A D | network.h | 139 extern char *lxc_mkifname(char *template);
|
H A D | arguments.h | 88 char *bdevtype, *configfile, *template;
|
H A D | lxc_user_nic.c | 521 char template[IFNAMSIZ]; local 523 ret = snprintf(template, sizeof(template), "vethXXXXXX"); 524 if (ret < 0 || (size_t)ret >= sizeof(template)) 527 *dest = lxc_mkifname(template);
|
H A D | criu.c | 756 char template[IFNAMSIZ]; local 761 snprintf(template, sizeof(template), "vethXXXXXX"); 764 netdev->priv.veth_attr.pair = lxc_mkifname(template);
|
H A D | network.c | 1507 char *lxc_mkifname(char *template) argument 1536 name = strdup(template);
|
/lxc/templates/ |
H A D | lxc-slackware.in | 30 echo "This template can't be used for unprivileged containers." 1>&2 31 echo "You may want to try the \"download\" template instead." 1>&2 547 cat <<EOF > $CONF/templates/minimal-lxc.template 595 if [ -f /etc/slackpkg/templates/$TEMPLATE.template ]; then 596 cat /etc/slackpkg/templates/$TEMPLATE.template \ 597 > $CONF/templates/$TEMPLATE.template 607 slackpkg install-template $TEMPLATE
|
H A D | lxc-alpine.in | 8 # LXC template for Alpine Linux 3+ 70 lxc-create --name=NAME [lxc-create-options] -- [template-options] [PKG...] 456 die 1 "This template can't be used for unprivileged containers." \ 457 'You may want to try the "download" template instead.'
|
H A D | lxc-debian.in | 27 echo "This template can't be used for unprivileged containers." 1>&2 28 echo "You may want to try the \"download\" template instead." 1>&2 495 lxc-create --name=NAME [-lxc-create-options] -- [-template-options]
|
H A D | lxc-sparclinux.in | 13 # Modified for Oracle Linux 6,7 combined OL4,5,6 into one template script 38 echo "This template can't be used for unprivileged containers." 1>&2 39 echo "You may want to try the \"download\" template instead." 1>&2 369 btrfs subvolume snapshot $template_rootfs $container_rootfs || die "btrfs clone template" 372 cp -axT $template_rootfs $container_rootfs || die "copy template" 449 die "The template is busy." 582 This template supports Linux for SPARC release 1.0
|
H A D | lxc-oracle.in | 12 # Modified for Oracle Linux 6,7 combined OL4,5,6 into one template script 34 echo "This template can't be used for unprivileged containers." 1>&2 35 echo "You may want to try the \"download\" template instead." 1>&2 151 # from mhw in the fedora template: We do need to disable the 540 btrfs subvolume snapshot $template_rootfs $container_rootfs || die "btrfs clone template" 543 cp -axT $template_rootfs $container_rootfs || die "copy template" 631 die "The template is busy." 838 This template supports Oracle Linux releases 4.6 - 7.0
|
/lxc/src/python-lxc/lxc/ |
H A D | __init__.py | 208 def create(self, template=None, flags=0, args=(), bdevtype=None): 212 "template" if passed must be a valid template name. 218 template. It can also be provided as a dict. 227 if template: 228 template_args['template'] = template
|
/lxc/src/lua-lxc/ |
H A D | lxc.lua | 146 function container:create(template, ...) 147 return self.core:create(template, ...)
|