- 01 Jul, 2017 2 commits
-
-
Christian Brauner authored
lxc-monitord: exit when got a quit command
-
0x0916 authored
lxc-monitor has an option to tell lxc-monitord to quit. ``` ~/lxc (master) # lxc-monitor --help lxc-monitor monitors the state of the NAME container Options : -n, --name=NAME NAME of the container NAME may be a regular expression -Q, --quit tell lxc-monitord to quit ``` But it does not work. This patch fix that. Signed-off-by:0x0916 <w@laoqinren.net>
-
- 29 Jun, 2017 8 commits
-
-
Christian Brauner authored
wipe all references lxc.network.{[i]}.* and replace with lxc.net.[i].* -
0x0916 authored
`lxc_clear_nic` can not clear the nic, because it will not found the right `netdev`. testcase from get_item.c ``` 313 if (!c->set_config_item(c, "lxc.network.hwaddr", "00:16:3e:xx:xx:xx")) { 314 fprintf(stderr, "%d: failed to set network.hwaddr\n", __LINE__); 315 goto out; 316 } 317 if (!c->set_config_item(c, "lxc.network.ipv4", "10.2.3.4")) { 318 fprintf(stderr, "%d: failed to set ipv4\n", __LINE__); 319 goto out; 320 } 321 322 ret = c->get_config_item(c, "lxc.network.0.ipv4", v2, 255); 323 if (ret <= 0) { 324 fprintf(stderr, "%d: lxc.network.0.ipv4 returned %d\n", __LINE__, ret); 325 goto out; 326 } 327 if (!c->clear_config_item(c, "lxc.network.0.ipv4")) { 328 fprintf(stderr, "%d: failed clearing all ipv4 entries\n", __LINE__); 329 goto out; 330 } 331 ret = c->get_config_item(c, "lxc.network.0.ipv4", v2, 255); 332 if (ret != 0) { 333 fprintf(stderr, "%d: after clearing ipv4 entries get_item(lxc.network.0.ipv4 returned %d\n", __LINE__, ret); 334 goto out; 335 } ``` line `327` will failed to clear nic, and line `333` give the error. Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
`lxc_config_net_hwaddr` return true if the config entry is `lxc.network.hwaddr` or `lxc.net.[i].hwaddr`, `lxc.network.[i].hwaddr` Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
This patch wipe all references to lxc.network{[i]}.* and replace with lxc.net.{[i]}.* in templates, documentation and configuration files. Signed-off-by:0x0916 <w@laoqinren.net>
-
- 27 Jun, 2017 4 commits
-
-
Christian Brauner authored
confile: free netdev->downscript
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
Christian Brauner authored
refactor confile code
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
- 26 Jun, 2017 5 commits
-
-
Serge Hallyn authored
confile: prepare for 2.1.
-
Christian Brauner authored
remove the `__func__` macro
-
Christian Brauner authored
API doc: update note for get_config_item
-
0x0916 authored
Our logging function will always spew out the function name. Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Fix issue: https://github.com/lxc/lxc/issues/505Signed-off-by:
0x0916 <w@laoqinren.net>
-
- 25 Jun, 2017 1 commit
-
-
Christian Brauner authored
default to CentOS 7
-
- 24 Jun, 2017 5 commits
-
-
Christian Brauner authored
templates/debian: add aarch64 → arm64 mapping
-
Christian Brauner authored
use altarch mirror for CentOS on arches other than i386 and x86_64
-
Evgeni Golov authored
CentOS only has i386 and x86_64 listed in mirrorlist.centos.org, use http://mirror.centos.org/altarch/ for all other arches instead See: https://bugs.centos.org/view.php?id=11250Signed-off-by:
Evgeni Golov <evgeni@debian.org>
-
Evgeni Golov authored
Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
Evgeni Golov authored
uname -m reports aarch64, but Debian calls the arch arm64 Signed-off-by:Evgeni Golov <evgeni@debian.org>
-
- 23 Jun, 2017 11 commits
-
-
Christian Brauner authored
Use strerror(errno) instead of %m
-
Christian Brauner authored
update .gitignore
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
- lxc.aa_profile => lxc.apparmor.profile - lxc.aa_allow_incomplete => lxc.apparmor.allow_incomplete - lxc.se_context => lxc.selinux.context The legacy keys will be kept around until LXC 3.0 and then will be removed. Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Christian Brauner authored
fix memory and resource leak
-
Christian Brauner authored
Revert "Add a prefix to the lxc.pc"
-
0x0916 authored
Signed-off-by:0x0916 <w@laoqinren.net>
-
0x0916 authored
This reverts commit 758243d8. Signed-off-by:
0x0916 <w@laoqinren.net>
-
- 21 Jun, 2017 4 commits
-
-
Serge Hallyn authored
network: new network parser part II
-
Christian Brauner authored
Fix memory leak of 'lxc_tty_state'
-
Christian Brauner authored
Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
-
Li Feng authored
Signed-off-by:Li Feng <lifeng68@huawei.com>
-