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:
Dan Bungert 2021-07-01 17:45:37 -06:00 committed by GitHub
parent bfb6a38b56
commit 5b54579d24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")