Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1112)

Side by Side Diff: container/lxc/export_test.go

Issue 94410043: Use lxc clone by default (Closed)
Patch Set: Use lxc clone by default Created 9 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 Canonical Ltd. 1 // Copyright 2013 Canonical Ltd.
2 // Licensed under the AGPLv3, see LICENCE file for details. 2 // Licensed under the AGPLv3, see LICENCE file for details.
3 3
4 package lxc 4 package lxc
5 5
6 import "launchpad.net/juju-core/container"
7
6 var ( 8 var (
7 ContainerConfigFilename = containerConfigFilename 9 ContainerConfigFilename = containerConfigFilename
8 ContainerDirFilesystem = containerDirFilesystem 10 ContainerDirFilesystem = containerDirFilesystem
9 GenerateNetworkConfig = generateNetworkConfig 11 GenerateNetworkConfig = generateNetworkConfig
10 NetworkConfigTemplate = networkConfigTemplate 12 NetworkConfigTemplate = networkConfigTemplate
11 RestartSymlink = restartSymlink 13 RestartSymlink = restartSymlink
14 ReleaseVersion = &releaseVersion
15 PreferFastLXC = preferFastLXC
12 ) 16 )
17
18 func GetCreateWithCloneValue(mgr container.Manager) bool {
19 return mgr.(*containerManager).createWithClone
20 }
OLDNEW
« no previous file with comments | « cmd/juju/help_topics.go ('k') | container/lxc/lxc.go » ('j') | container/lxc/lxc.go » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b