GithubHelp home page GithubHelp logo

Comments (4)

Souldiv avatar Souldiv commented on May 30, 2024

Update:

Made it work using a hack, the reason why it was failing is because after running the provision script it reboots the machine and the machine is assigned another IP upon boot and the IP previously used for SSH by packer doesn't work. I was able to login after the provisioning step and assign the IP in the netplan config and apply the changes. It completed the build but I think a better solution is definitely required.

from hv-packer.

Souldiv avatar Souldiv commented on May 30, 2024

Update 2:

The setup works without any hacks by removing the reboot command. @marcinbojko do you foresee any issues without reboot?

from hv-packer.

marcinbojko avatar marcinbojko commented on May 30, 2024

Please adjust DHCP settings in your environment. This has nothing to do with scripts or packer itself.

from hv-packer.

Souldiv avatar Souldiv commented on May 30, 2024

As DHCP doesn't necessarily mean that after reboot the machine will be given the same IP, this is a possible issue with packer and I have created an issue here. This issue is similar to the one mentioned here

from hv-packer.

Related Issues (16)

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.