Index: export_test.go |
=== modified file 'export_test.go' |
--- export_test.go 2012-11-16 17:00:21 +0000 |
+++ export_test.go 2013-02-05 12:47:21 +0000 |
@@ -3,4 +3,12 @@ |
// ContainerHome returns the name of the container directory. |
func ContainerHome(c *Container) string { |
return c.containerHome() |
-} |
+} |
+ |
+// SetConfPath allows the manipulation of the LXC |
+// default configuration file. |
+func SetConfPath(cp string) string { |
+ orig := confPath |
+ confPath = cp |
+ return orig |
+} |