Unhardcode path to subiquity-loadkeys (#994)
With multiple users of subiquity in different ways, this may not be always available at this specific location.
This commit is contained in:
parent
bfb6a38b56
commit
5b54579d24
|
@ -199,7 +199,7 @@ class KeyboardController(SubiquityController):
|
||||||
fp.write(self.model.render_config_file())
|
fp.write(self.model.render_config_file())
|
||||||
cmds = [
|
cmds = [
|
||||||
['setupcon', '--save', '--force', '--keyboard-only'],
|
['setupcon', '--save', '--force', '--keyboard-only'],
|
||||||
['/snap/bin/subiquity.subiquity-loadkeys'],
|
['subiquity-loadkeys'],
|
||||||
]
|
]
|
||||||
if self.opts.dry_run:
|
if self.opts.dry_run:
|
||||||
scale = os.environ.get('SUBIQUITY_REPLAY_TIMESCALE', "1")
|
scale = os.environ.get('SUBIQUITY_REPLAY_TIMESCALE', "1")
|
||||||
|
|
Loading…
Reference in New Issue