Giter VIP home page Giter VIP logo

packer-ubuntu-1404's Issues

Make sure VirtualBox paravirtprovider is set to KVM (new VB 5.0 default)

It looks like there was a bug in VB 5.0.0 that caused the paravirtualization provider to not be set properly when a box was exported. In the latest VB (5.0.2+) and Packer, it should set KVM explicitly, as it's the new default.

But if not, I'd like to add the configuration to the Packer config explicitly (see this Google Groups thread), because it would be nice to be able to revert geerlingguy/drupal-vm#212 and save a line of VirtualBox config.

Remove VMware Fusion support

Since I haven't updated that box, nor even have Fusion anymore... I am not willing to maintain support for it in this project.

Make sure all the Ansible packages are removed

For the VMware Fusion box (at least), I get the following when performing apt commands inside the generated box:

The following packages were automatically installed and are no longer required:
  libyaml-0-2 python-crypto python-httplib2 python-jinja2 python-markupsafe
  python-paramiko python-pkg-resources python-support python-yaml sshpass
Use 'apt-get autoremove' to remove them.

Overly complex boot command

Hi, I used your build as a template for my own purposes.

I ended up reducing the boot command to the following:

      "boot_command": [
        "<esc><wait>",
        "<esc><wait>",
        "<enter><wait>",
        "/install/vmlinuz",
        " auto=true",
        " priority=critical",
        " initrd=/install/initrd.gz",
        " url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg",
        " -- ",
        "<enter>"
      ],

and putting the following in my preseed.cfg

d-i debian-installer/locale string en_US

d-i console-setup/ask_detect boolean false

d-i keyboard-configuration/modelcode string pc105
d-i keyboard-configuration/layoutcode string us

Results are the same as your current configuration but pushes the decision to the preseed.cfg which is easier to maintain/manage.

Cheers!

PS Thanks for the great template to get me started! I've never used Ubuntu before.

The open-vm-tools package prevent installing VMware Tools

I'm opening an issue here but it can be related to ansible-role-packer-debian.

I've updated the ubuntu1404.json to the newest iso

      "iso_urls": [
        "iso/ubuntu-14.04.5-server-amd64.iso",
        "http://releases.ubuntu.com/14.04/ubuntu-14.04.5-server-amd64.iso"
      ],
      "iso_checksum_type": "sha256",
      "iso_checksum": "dde07d37647a1d2d9247e33f14e91acb10445a97578384896b4e1d985f754cc1",

and try build vmware box.

I receive an error

    vmware-iso: TASK [geerlingguy.packer-debian : Run the VMware tools installer.] *************
    vmware-iso: fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "/tmp/vmfusion-archive/vmware-tools-distrib/vmware-install.pl --default", "delta": "0:00:00.075623", "end": "2017-05-20 06:33:49.173368", "failed": true, "rc": 1, "start": "2017-05-20 06:33:49.097745", "stderr": "", "stderr_lines": [], "stdout": "The installer has detected an existing installation of open-vm-tools packages \non this system and will not attempt to remove and replace these user-space \napplications. It is recommended to use the open-vm-tools packages provided by \nthe operating system. If you do not want to use the existing installation of \nopen-vm-tools packages and use VMware Tools, you must uninstall the \nopen-vm-tools packages and re-run this installer.\nThe packages that need to be removed are:\nopen-vm-tools\nThe installer will next check if there are any missing kernel drivers. Type yes\nif you want to do this, otherwise type no [yes] \n\nFor kernels >= 4.0.0, the open-vm-tools packages need to be of version 10.0.0 \nor higher for VMware Host Guest Filessystem (vmhgfs) to function with VMware \nTools. Please upgrade open-vm-tools packages and rerun this installer, or \nuninstall open-vm-tools packages. Alternatively, you can disable using vmhgfs \nwhen VMware Tools are configured.\n\nEnter yes to proceed. [no] \n\nExecution aborted.", "stdout_lines": ["The installer has detected an existing installation of open-vm-tools packages ", "on this system and will not attempt to remove and replace these user-space ", "applications. It is recommended to use the open-vm-tools packages provided by ", "the operating system. If you do not want to use the existing installation of ", "open-vm-tools packages and use VMware Tools, you must uninstall the ", "open-vm-tools packages and re-run this installer.", "The packages that need to be removed are:", "open-vm-tools", "The installer will next check if there are any missing kernel drivers. Type yes", "if you want to do this, otherwise type no [yes] ", "", "For kernels >= 4.0.0, the open-vm-tools packages need to be of version 10.0.0 ", "or higher for VMware Host Guest Filessystem (vmhgfs) to function with VMware ", "Tools. Please upgrade open-vm-tools packages and rerun this installer, or ", "uninstall open-vm-tools packages. Alternatively, you can disable using vmhgfs ", "when VMware Tools are configured.", "", "Enter yes to proceed. [no] ", "", "Execution aborted."]}
    vmware-iso: to retry, use: --limit @/tmp/packer-provisioner-ansible-local/591fe151-7d7a-f700-ac81-1ae7390add50/main.retry
    vmware-iso:

I tried find in which step the open-vm-tools packages is installed to prevent it but without success.

When I initialized unattended installation of Ubuntu - using boot parameter and preseed.cfg file open-vm-tools were not installed.

I don't understand :-(

Can you look on this too? Thank you.

Tips on using Ansible Galaxy requirements file

I have some roles in my private git instance. I've tried multiple ways to define the git repo w/ oAUTH keys for example and have been unsuccessful. How do you authenticate with a private git repo with Ansible galaxy

Support for vmware provider?

Hi Jeff,

We're switching to vmware as a provider for performance reasons. I tried to install your drupal-dev-vm, which currently points to https://atlas.hashicorp.com/geerlingguy/boxes/ubuntu1404, but that only offers the virtualbox provider. I'm not sure what it would take to support another provider, or if this repo is the one that you deploy to the Atlas, but if it's not difficult to support vmware, I'd love you to add it.

Thanks!

Unable to use with VMWare Fusion

When I try and vagrant up --provider=vmware_fusion with the following Vagrantfile: https://github.com/NuCivic/ansible-dev-vm/blob/move-to-geerlinguy140/Vagrantfile

I get:

$ vagrant up --provider=vmware_fusion
Bringing machine 'devbox' up with 'vmware_fusion' provider...
==> devbox: Box 'geerlingguy/ubuntu1404' could not be found. Attempting to find and install...
    devbox: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation
    devbox: Box Version: >= 0
==> devbox: Adding box 'geerlingguy/ubuntu1404' (v0) for provider: vmware_desktop, vmware_fusion, vmware_workstation
    devbox: Downloading: https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box
The box you attempted to add doesn't match the provider you specified.

Provider expected: vmware_desktop, vmware_fusion, vmware_workstation
Provider of box: virtualbox

It says the provider of the box is virtualbox, even I I use the URL http://files.midwesternmac.com/boxes/VMware-ubuntu1404-104.box

Any idea what the issue is? Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.