Closed abadelt closed 8 years ago
Sorry, the big "- increasing RAM and (for GUI) VRAM for" should have been the last bullet point of the list above actually (the "for" is obsolete anyway)
Looks pretty good to me, needs one of the devops pro team to confirm though.
XFCE stuff looks good; @mrwilson thoughts on the /etc/hosts modification and Eclipse installation?
@abadelt can you provide some more detail on what fails in the current hostname setup, ideally with reproduction instructions in an issue? (Agree it's probably something we should fix; it does generate warnings even in the current setup; just be nice to have the reasoning
General policy thing: I'd prefer to have issues/feature requests against all commits, and ideally have pull requests be split up so that each one only deals with a single issue.
Hi,
reproducing it is easy - on my machine at least. As said I’m on OS X 10.9.1, virtualbox 4.3.6, and if I start the build based on one of the most recent revisions (tried 162397e as well as cad311e), any local modifications, it will exit with an error:
localhost:openjdk-development andreas$ packer build openjdk-development.json virtualbox-iso output will be in this color.
==> virtualbox-iso: Downloading or copying Guest additions checksums virtualbox-iso: Downloading or copying: http://download.virtualbox.org/virtualbox/4.3.6/SHA256SUMS ==> virtualbox-iso: Downloading or copying Guest additions virtualbox-iso: Downloading or copying: http://download.virtualbox.org/virtualbox/4.3.6/VBoxGuestAdditions_4.3.6.iso ==> virtualbox-iso: Downloading or copying ISO virtualbox-iso: Downloading or copying: http://releases.ubuntu.com/13.10/ubuntu-13.10-server-amd64.iso ==> virtualbox-iso: Starting HTTP server on port 8081 ==> virtualbox-iso: Creating virtual machine... ==> virtualbox-iso: Creating hard drive... ==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3213) ==> virtualbox-iso: Executing custom VBoxManage commands... virtualbox-iso: Executing: modifyvm packer-virtualbox-iso --memory 512 virtualbox-iso: Executing: modifyvm packer-virtualbox-iso --cpus 1 ==> virtualbox-iso: Starting the virtual machine... virtualbox-iso: WARNING: The VM will be started in headless mode, as configured. virtualbox-iso: In headless mode, errors during the boot sequence or OS setup virtualbox-iso: won't be easily visible. Use at your own discretion. ==> virtualbox-iso: Waiting 4s for boot... ==> virtualbox-iso: Typing the boot command... ==> virtualbox-iso: Waiting for SSH to become available... ==> virtualbox-iso: Connected to SSH! ==> virtualbox-iso: Uploading VirtualBox version info (4.3.6) ==> virtualbox-iso: Uploading VirtualBox guest additions ISO... ==> virtualbox-iso: Provisioning with Puppet... virtualbox-iso: Creating Puppet staging directory... virtualbox-iso: Uploading local modules from: puppet/modules virtualbox-iso: Uploading manifests... virtualbox-iso: Running Puppet: echo 'vagrant' | sudo -S -E puppet apply --verbose --modulepath='/tmp/packer-puppet-masterless/module-0' /tmp/packer-puppet-masterless/manifests/site.pp virtualbox-iso: [sudo] password for vagrant: Warning: Could not retrieve fact fqdn virtualbox-iso: Warning: Host is missing hostname and/or domain: localhost virtualbox-iso: Warning: Host is missing hostname and/or domain: localhost virtualbox-iso: Error: Could not find default node or by name with 'localhost' on node localhost virtualbox-iso: Error: Could not find default node or by name with 'localhost' on node localhost ==> virtualbox-iso: Unregistering and deleting virtual machine... ==> virtualbox-iso: Deleting output directory... Build 'virtualbox-iso' errored: Puppet exited with a non-zero exit status: 1 —
After applying the workaround, it will run successfully.
Am 12.02.2014 um 02:19 schrieb Murali Suriar notifications@github.com:
XFCE stuff looks good; @mrwilson thoughts on the /etc/hosts modification and Eclipse installation?
@abadelt can you provide some more detail on what fails in the current hostname setup, ideally with reproduction instructions in an issue? (Agree it's probably something we should fix; it does generate warnings even in the current setup; just be nice to have the reasoning
General policy thing: I'd prefer to have issues/feature requests against all commits, and ideally have pull requests be split up so that each one only deals with a single issue.
— Reply to this email directly or view it on GitHub.
Hi,
here's a suggestion to add GUI and Eclipse installation to the VM build. just started last week to work hands-on with packer, puppet etc. - so please forgive me if things are not as elaborate as they could be.
Changes in this set:
Added GUI - X incl. xfce - and Eclipse installation (site.pp, packages.pp, new eclipse.pp) Packer JSON file modified:
- increasing RAM and (for GUI) VRAM for
Discussion: Not sure whether the hostname workaround should be pulled actually. Martijn already confirmed it works on his machine, and he is on OS X Maverick as well. An alternative to the manual installation of the archive module could be to use librarian_puppet I had looked into it and thought it was overkill however (maybe that changes as we add more stuff) There seems to be a ready module to install IntelliJ IDEA (smarchive/idea), but I assume that Eclipse is more widespread, so I started with it.
Cheers, Andreas