/lxc/src/lxc/tools/ |
H A D | lxc_execute.c | 62 args->rcfile = arg; 79 {"rcfile", required_argument, 0, 'f'}, 96 -f, --rcfile=FILE Load configuration file FILE\n\ 107 char *rcfile; local 124 /* rcfile is specified in the cli option */ 125 if (my_args.rcfile) 126 rcfile = (char *)my_args.rcfile; 130 rc = asprintf(&rcfile, "%s/%s/config", my_args.lxcpath[0], my_args.name); 137 if (access(rcfile, F_O [all...] |
H A D | lxc_start.c | 150 case 'f': args->rcfile = arg; break; 164 {"rcfile", required_argument, 0, 'f'}, 188 -f, --rcfile=FILE Load configuration file FILE\n\ 209 char *rcfile = NULL; local 243 * rcfile possibilities: 244 * 1. rcfile from random path specified in cli option 245 * 2. rcfile not specified, use $lxcpath/$lxcname/config 246 * 3. rcfile not specified and does not exist. 248 /* rcfile is specified in the cli option */ 249 if (my_args.rcfile) { [all...] |
H A D | lxc_unfreeze.c | 49 --rcfile=FILE Load configuration file FILE\n", 82 if (my_args.rcfile) { 84 if (!c->load_config(c, my_args.rcfile)) { 85 ERROR("Failed to load rcfile"); 89 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_freeze.c | 51 --rcfile=FILE Load configuration file FILE\n", 78 if (my_args.rcfile) { 80 if (!c->load_config(c, my_args.rcfile)) { 81 ERROR("Failed to load rcfile"); 85 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_wait.c | 76 --rcfile=FILE Load configuration file FILE\n", 108 if (my_args.rcfile) { 110 if (!c->load_config(c, my_args.rcfile)) { 111 fprintf(stderr, "Failed to load rcfile\n"); 115 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_cgroup.c | 60 --rcfile=FILE Load configuration file FILE\n", 88 if (my_args.rcfile) { 90 if (!c->load_config(c, my_args.rcfile)) { 91 ERROR("Failed to load rcfile"); 95 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_console.c | 89 --rcfile=FILE Load configuration file FILE\n", 121 if (my_args.rcfile) { 123 if (!c->load_config(c, my_args.rcfile)) { 124 fprintf(stderr, "Failed to load rcfile\n"); 128 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_checkpoint.c | 117 --rcfile=FILE Load configuration file FILE\n\ 218 if (my_args.rcfile) { 220 if (!c->load_config(c, my_args.rcfile)) { 221 fprintf(stderr, "Failed to load rcfile\n"); 225 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_device.c | 57 --rcfile=FILE Load configuration file FILE\n", 129 if (my_args.rcfile) { 131 if (!c->load_config(c, my_args.rcfile)) { 132 ERROR("Failed to load rcfile"); 135 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_stop.c | 92 --rcfile=FILE Load configuration file FILE\n", 219 if (my_args.rcfile) { 221 if (!c->load_config(c, my_args.rcfile)) { 222 fprintf(stderr, "Failed to load rcfile\n"); 225 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_attach.c | 67 {"rcfile", required_argument, 0, 'f'}, 185 args->rcfile = arg; 237 -f, --rcfile=FILE\n\ 410 if (my_args.rcfile) { 412 if (!c->load_config(c, my_args.rcfile)) { 413 ERROR("Failed to load rcfile"); 417 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_destroy.c | 57 --rcfile=FILE Load configuration file FILE\n", 92 if (my_args.rcfile) { 94 if (!c->load_config(c, my_args.rcfile)) { 95 fprintf(stderr, "Failed to load rcfile\n"); 99 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_snapshot.c | 66 --rcfile=FILE Load configuration file FILE\n", 111 if (my_args.rcfile) { 113 if (!c->load_config(c, my_args.rcfile)) { 114 fprintf(stderr, "Failed to load rcfile\n"); 118 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_info.c | 97 --rcfile=FILE Load configuration file FILE\n", 299 if (my_args.rcfile) { 301 if (!c->load_config(c, my_args.rcfile)) { 302 fprintf(stderr, "Failed to load rcfile\n"); 306 c->configfile = strdup(my_args.rcfile);
|
H A D | lxc_copy.c | 127 --rcfile=FILE Load configuration file FILE\n", 203 if (my_args.rcfile) { 205 if (!c->load_config(c, my_args.rcfile)) { 206 fprintf(stderr, "Failed to load rcfile\n"); 209 c->configfile = strdup(my_args.rcfile);
|
/lxc/src/lxc/ |
H A D | arguments.h | 51 const char *rcfile; member in struct:lxc_arguments 151 {"rcfile", required_argument, 0, OPT_RCFILE}, \
|
H A D | arguments.c | 206 case OPT_RCFILE: args->rcfile = optarg; break;
|
H A D | conf.h | 333 char *rcfile; // Copy of the top level rcfile we read member in struct:lxc_conf
|
H A D | start.c | 430 if (conf->rcfile && setenv("LXC_CONFIG_FILE", conf->rcfile, 1)) 431 SYSERROR("Failed to set environment variable: LXC_CONFIG_FILE=%s.", conf->rcfile);
|
H A D | lxccontainer.c | 2360 if (conf->rcfile && setenv("LXC_CONFIG_FILE", conf->rcfile, 1)) { 2983 if (conf->rcfile && setenv("LXC_CONFIG_FILE", conf->rcfile, 1)) {
|
H A D | conf.c | 4441 free(conf->rcfile);
|