mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Avoid hard-coded command paths
This commit is contained in:
parent
5a9e76c89d
commit
b09b1239f1
1 changed files with 1 additions and 1 deletions
|
@ -60,6 +60,6 @@ class InstallGuestAdditions(Task):
|
|||
'it should exit with status 1').format(status=status)
|
||||
raise TaskError(msg)
|
||||
|
||||
log_call(['/usr/sbin/chroot', info.root, '/usr/sbin/service', 'vboxadd-service', 'stop'])
|
||||
log_call(['chroot', info.root, 'service', 'vboxadd-service', 'stop'])
|
||||
root.remove_mount(mount_path)
|
||||
os.rmdir(mount_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue