|
|
@ -1,5 +1,5 @@
|
|
|
|
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
|
|
|
|
diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in
|
|
|
|
index 684bb9c..841af16 100644
|
|
|
|
index 684bb9c..922563d 100644
|
|
|
|
--- a/templates/lxc-fedora.in
|
|
|
|
--- a/templates/lxc-fedora.in
|
|
|
|
+++ b/templates/lxc-fedora.in
|
|
|
|
+++ b/templates/lxc-fedora.in
|
|
|
|
@@ -26,18 +26,69 @@
|
|
|
|
@@ -26,18 +26,69 @@
|
|
|
@ -47,7 +47,7 @@ index 684bb9c..841af16 100644
|
|
|
|
|
|
|
|
|
|
|
|
-if [ "$arch" = "i686" ]; then
|
|
|
|
-if [ "$arch" = "i686" ]; then
|
|
|
|
- arch=i386
|
|
|
|
- arch=i386
|
|
|
|
+if [ ${CPE_NAME} != "" -a ${ID} = "fedora" -a ${VERSION_ID} != "" ]
|
|
|
|
+if [ "${CPE_NAME}" != "" -a "${ID}" = "fedora" -a "${VERSION_ID}" != "" ]
|
|
|
|
+then
|
|
|
|
+then
|
|
|
|
+ fedora_host_ver=${VERSION_ID}
|
|
|
|
+ fedora_host_ver=${VERSION_ID}
|
|
|
|
+ is_fedora=true
|
|
|
|
+ is_fedora=true
|
|
|
|