Merge pull request #1124 from CarlosNihelton/fix-systemsetup-reconfig-post
SystemSetupModel now acks the variant at start.
This commit is contained in:
commit
072d2b233a
|
@ -78,8 +78,10 @@ class SystemSetupServer(SubiquityServer):
|
||||||
root = '/'
|
root = '/'
|
||||||
if self.opts.dry_run:
|
if self.opts.dry_run:
|
||||||
root = os.path.abspath('.subiquity')
|
root = os.path.abspath('.subiquity')
|
||||||
return SystemSetupModel(root, self.hub, INSTALL_MODEL_NAMES,
|
model = SystemSetupModel(root, self.hub, INSTALL_MODEL_NAMES,
|
||||||
POSTINSTALL_MODEL_NAMES)
|
POSTINSTALL_MODEL_NAMES)
|
||||||
|
model.set_source_variant(self.variant)
|
||||||
|
return model
|
||||||
|
|
||||||
# We don’t have cloudinit in system_setup.
|
# We don’t have cloudinit in system_setup.
|
||||||
async def wait_for_cloudinit(self):
|
async def wait_for_cloudinit(self):
|
||||||
|
|
Loading…
Reference in New Issue