Skip to content

Custom 'script' is not persisted on Packer and Vagrant doesn´t display them when using Vagrantfile #192

@joudaon

Description

@joudaon

Hello,

Thank for this project.

I have used this code to make an own custom devops environment (https://github.com/joudaon/vagrant-devops).

On the script folder I have added an script devops_tools.sh to install custom software (please see the script on: https://github.com/joudaon/vagrant-devops/blob/master/vagrant/provision/devops_tools.sh). And of course this script has been added to ubuntu.json file.

I want all these programs to be installed on the "box" packer build so that when I create a new Vagrantfile the software is already installed and I don´t have to provision it.

The thing is that when I create a new Vagrantfile and use that box, Ubuntu Destkop doesn´t display that installed software and that's why I have to provision devops_tools.sh on the Vagrant side and not on the Packer.

Any clue why this is happening?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions