Onto this branch, please add diff --git a/src/maasserver/preseed.py b/src/maasserver/preseed.py index 5d224f893..7b9e1663b 100644 --- a/src/maasserver/preseed.py +++ b/src/maasserver/preseed.py @@ -460,6 +460,8 @@ def get_curtin_installer_url(node): return 'cp:///media/root-ro' elif image['xinstall_type'] == 'tgz': url_prepend = '' + elif image['xinstall_type'] == 'squashfs': + url_prepend = 'fsimage:' else: url_prepend = '%s:' % image['xinstall_type'] dyn_uri = '/'.join([
This way, you'll tell curtin that this url is a 'fsimage'. rather than a 'squashfs' type.
« Back to merge proposal
Onto this branch, please add r/preseed. py b/src/maasserve r/preseed. py .7b9e1663b 100644 r/preseed. py r/preseed. py installer_ url(node) : media/root- ro' xinstall_ type'] == 'tgz':
url_prepend = '' xinstall_ type'] == 'squashfs':
url_prepend = '%s:' % image[' xinstall_ type']
diff --git a/src/maasserve
index 5d224f893.
--- a/src/maasserve
+++ b/src/maasserve
@@ -460,6 +460,8 @@ def get_curtin_
return 'cp:///
elif image['
+ elif image['
+ url_prepend = 'fsimage:'
else:
dyn_uri = '/'.join([
This way, you'll tell curtin that this url is a 'fsimage'.
rather than a 'squashfs' type.