diff options
Diffstat (limited to 'morphlib/exts')
-rwxr-xr-x | morphlib/exts/nfsboot.write | 2 | ||||
-rwxr-xr-x | morphlib/exts/rawdisk.write | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/exts/nfsboot.write b/morphlib/exts/nfsboot.write index e2ce7db2..cf71301b 100755 --- a/morphlib/exts/nfsboot.write +++ b/morphlib/exts/nfsboot.write @@ -66,7 +66,7 @@ class NFSBootWriteExtension(morphlib.writeexts.WriteExtension): 'with hostname "baserock"') self.test_good_server(location) - version = 'version1' + version = 'factory' versioned_root = os.path.join(self._nfsboot_root, hostname, 'systems', version) self.copy_rootfs(temp_root, location, versioned_root, hostname) diff --git a/morphlib/exts/rawdisk.write b/morphlib/exts/rawdisk.write index 76438a5e..a43a9cce 100755 --- a/morphlib/exts/rawdisk.write +++ b/morphlib/exts/rawdisk.write @@ -59,7 +59,7 @@ class RawDiskWriteExtension(morphlib.writeexts.WriteExtension): version_root = os.path.join(mp, 'systems', version_label) os.mkdir(version_root) - old_orig = os.path.join(mp, 'systems', 'version1', 'orig') + old_orig = os.path.join(mp, 'systems', 'factory', 'orig') new_orig = os.path.join(version_root, 'orig') cliapp.runcmd( ['btrfs', 'subvolume', 'snapshot', old_orig, new_orig]) |