diff --git a/lcr.spec b/lcr.spec index c1cd4f0c90e3a6f40e1561c80fa37e99a8336233..192d9796c58b5b577d09642322c10964dc0d2138 100644 --- a/lcr.spec +++ b/lcr.spec @@ -1,5 +1,5 @@ %global _version 2.0.0 -%global _release 20200402.161208.git1eb4b458 +%global _release 20200418.180849.git0944f121 Name: lcr Version: %{_version} Release: %{_release} diff --git a/src/conf.c b/src/conf.c index 685794c3ab66cf769711173337d5cb1d38c1b35b..923486dc6036abbb8b3add57a9e56be2fcd88cb7 100644 --- a/src/conf.c +++ b/src/conf.c @@ -2587,22 +2587,6 @@ static int add_needed_pty_conf(struct lcr_list *conf) return 0; } -static int add_needed_tty_conf(struct lcr_list *conf) -{ - struct lcr_list *node = create_lcr_list_node("lxc.tty.max", "4"); - if (node == NULL) { - return -1; - } - lcr_list_add_tail(conf, node); - - node = create_lcr_list_node("lxc.tty.dir", "lxc"); - if (node == NULL) { - return -1; - } - lcr_list_add_tail(conf, node); - return 0; -} - static int add_needed_net_conf(struct lcr_list *conf) { struct lcr_list *node = create_lcr_list_node("lxc.net.0.type", "empty"); @@ -2628,9 +2612,6 @@ struct lcr_list *get_needed_lxc_conf() } lcr_list_init(conf); - if (add_needed_tty_conf(conf) < 0) { - goto out_free; - } if (add_needed_pty_conf(conf) < 0) { goto out_free; }