Merge pull request #317 from CanonicalLtd/mwhudson/no-resize-rootfs
prevent cloud-init from resizing the rootfs into any space
This commit is contained in:
commit
3c49ecae9d
|
@ -69,11 +69,14 @@ class SubiquityModel:
|
|||
}
|
||||
if user.ssh_import_id is not None:
|
||||
user_info['ssh_import_id'] = [user.ssh_import_id]
|
||||
# XXX this should set up the locale too.
|
||||
config = {
|
||||
'users': [user_info],
|
||||
'growpart': {
|
||||
'mode': 'off',
|
||||
},
|
||||
'hostname': self.identity.hostname,
|
||||
'locale': self.locale.selected_language + '.UTF-8',
|
||||
'resize_rootfs': False,
|
||||
'users': [user_info],
|
||||
}
|
||||
config.update(self.installpath.render_cloudinit())
|
||||
return config
|
||||
|
|
Loading…
Reference in New Issue