mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
set full path for binaries
This commit is contained in:
parent
398a4da313
commit
b6d716d414
1 changed files with 1 additions and 1 deletions
|
@ -30,6 +30,6 @@ class ConfigureGrub(Task):
|
|||
os.chmod(script_dst, rwxr_xr_x)
|
||||
log_check_call(['/usr/sbin/chroot', info.root, 'update-initramfs', '-u'])
|
||||
# Install grub in mbr
|
||||
log_check_call(['grub-install', '--boot-directory='+info.root+"/boot/", info.bootstrap_device['path']])
|
||||
log_check_call(['/usr/sbin/grub-install', '--boot-directory='+info.root+"/boot/", info.bootstrap_device['path']])
|
||||
|
||||
log_check_call(['/usr/sbin/chroot', info.root, '/usr/sbin/update-grub'])
|
||||
|
|
Loading…
Add table
Reference in a new issue