mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Merge pull request #55 from myhro/fix-guestadditions
Don't check Guest Additions installation status
This commit is contained in:
commit
a037acc673
1 changed files with 1 additions and 7 deletions
|
@ -52,13 +52,7 @@ class InstallGuestAdditions(Task):
|
|||
|
||||
install_script = os.path.join('/', mount_dir, 'VBoxLinuxAdditions.run')
|
||||
from common.tools import log_call
|
||||
status, out, err = log_call(['chroot', info.root,
|
||||
install_script, '--nox11'])
|
||||
# Install will exit with $?=1 because X11 isn't installed
|
||||
if status != 1:
|
||||
msg = ('VBoxLinuxAdditions.run exited with status {status}, '
|
||||
'it should exit with status 1').format(status=status)
|
||||
raise TaskError(msg)
|
||||
log_call(['chroot', info.root, install_script, '--nox11'])
|
||||
|
||||
log_call(['chroot', info.root, 'service', 'vboxadd-service', 'stop'])
|
||||
root.remove_mount(mount_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue