Merge pull request #406 from mwhudson/install-correct-kernel
install the booted kernel
This commit is contained in:
commit
ebee2667a4
|
@ -214,6 +214,13 @@ class SubiquityModel:
|
|||
},
|
||||
}
|
||||
|
||||
if os.path.exists("/run/kernel-meta-package"):
|
||||
with open("/run/kernel-meta-package") as fp:
|
||||
kernel_package = fp.read().decode('ascii').strip()
|
||||
config['kernel'] = {
|
||||
'package': kernel_package,
|
||||
}
|
||||
|
||||
if self.proxy.proxy:
|
||||
config['write_files']['snapd_dropin'] = {
|
||||
'path': 'etc/systemd/system/snapd.service.d/snap_proxy.conf',
|
||||
|
|
Loading…
Reference in New Issue