]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/lxc_config.c
Create an empty network namespace
[mirror_lxc.git] / src / lxc / lxc_config.c
index ae1338b839f46bfd5bbadfbeaf73a742c0b204df..ec34cbcd46ce207f0f41317b81fa301a59070c4e 100644 (file)
@@ -176,6 +176,8 @@ static int config_network_type(char *value, struct lxc_conf *lxc_conf)
                network->type = MACVLAN;
        else if (!strcmp(value, "phys"))
                network->type = PHYS;
+       else if (!strcmp(value, "empty"))
+               network->type = EMPTY;
        else {
                lxc_log_error("invalid network type %s", value);
                return -1;