The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2674

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
- lxc.syslog
- lxc.ephemeral
- lxc.logfile

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From 150c866af7c86f4b815b019869772e1bb9ead5a7 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Thu, 1 Dec 2016 21:29:46 +0100
Subject: [PATCH] lxc-to-lxd: add more unsupported config keys

- lxc.syslog
- lxc.ephemeral
- lxc.logfile

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 scripts/lxc-to-lxd | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/scripts/lxc-to-lxd b/scripts/lxc-to-lxd
index 516d12b..c6a9ae3 100755
--- a/scripts/lxc-to-lxd
+++ b/scripts/lxc-to-lxd
@@ -341,6 +341,27 @@ def convert_container(lxd_socket, container_name, args):
         print("Custom capabilities aren't supported, skipping...")
         return False
 
+    # Skip ephemeral
+    print("Processing container ephemeral configuration")
+    value = config_get(lxc_config, "lxc.ephemeral")
+    if value:
+        print("Setting lxc.ephemeral is not supported, skipping...")
+        return False
+
+    # Skip syslog
+    print("Processing container syslog configuration")
+    value = config_get(lxc_config, "lxc.syslog")
+    if value:
+        print("Setting lxc.syslog is not supported, skipping...")
+        return False
+
+    # Skip logfile
+    print("Processing container syslog configuration")
+    value = config_get(lxc_config, "lxc.logfile")
+    if value:
+        print("Setting lxc.logfile is not supported, skipping...")
+        return False
+
     # Setup the container creation request
     new = {'name': container_name,
            'source': {'type': 'none'},
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to