boxcutter / centos

Virtual machine templates for CentOS written in legacy JSON
Apache License 2.0
424 stars 199 forks source link

boxcutter release v2.0.16 does not have parallel tools installed #53

Closed nanliu closed 7 years ago

nanliu commented 7 years ago

The current boxcutter release (v2.0.16) on atlas does not appear to have parallel tools installed:

==> centos72: Machine booted and ready!
==> centos72: Checking for Parallels Tools installed on the VM...
==> centos72: Parallels Tools were not detected on this VM! They are required
==> centos72: for shared folders, time sync and more. If shared folders are not
==> centos72: working on this machine, please install Parallels Tools within the
==> centos72: virtual machine and reload your VM.
echophage commented 7 years ago

run into the same error while building a fresh box with command /bin/box build centos72 parallels following message has been loged while building:

==> parallels-iso: Connected to SSH!
==> parallels-iso: Uploading Parallels version info (12.0.2)
==> parallels-iso: Uploading Parallels Tools for 'lin' to path: 'prl-tools-lin.iso'
==> parallels-iso: Provisioning with shell script: script/fix-slow-dns.sh

(...)

 parallels-iso: ==> Installing Parallels tools
 parallels-iso: mount: /dev/loop0 is write-protected, mounting read-only
 parallels-iso: /mnt/install: line 102: syntax error near unexpected token `>'
 parallels-iso: /mnt/install: line 102: `       exec 3>&1 4>&2 &> >(tee -a "$LOG")'

if I run the parallels install script by hand within the machine the tools will installed and everything is OK. Why the script draw en error while setting up the box automatically?

echophage commented 7 years ago

see PR: Parallels12 bash #57

this solves my issue, thanks!

annawake commented 7 years ago

Parallels tools are now in the images on Atlas