Coder Social home page Coder Social logo

dmitriimukhin / proxmox-cloud-init Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chris2k20/proxmox-cloud-init

0.0 0.0 0.0 6 KB

Proxmox KVM: Custom Cloud-Init File (User-Data: configure your Ubuntu before it starts)

License: MIT License

proxmox-cloud-init's Introduction

Proxmox: Use Custom Cloud-Init File (User-Data)

How to use a custom Cloud-Init YAML-File with Proxmox:

Assumption: In your proxmox environment is a VM with ID 9001 and cloud-init installed (run Ubuntu Cloud Image Template on Proxmox & create VM from template & come back:)

  1. Create a folder in the default proxmox path on the host: mkdir /var/lib/vz/cloud-init/ ; cd /var/lib/vz/cloud-init/
  2. Download the example cloud-init.yml file and save it to 9001-cloud-init.yml: wget https://raw.githubusercontent.com/chris2k20/proxmox-cloud-init/main/cloud-init.yml -O 9001-cloud-init.yml
  3. Customize it: nano 9001-cloud-init.yml (See official cloud-init Documentation)
  4. Update the VM settings to use your default cloud-init: qm set 9001 --cicustom "user=local:cloud-init/9001-cloud-init.yml"
  5. Start VM: qm start 9001

I used Ubuntu 20.04 Cloud Image to test it out (see my little gist on: How to install a Ubuntu Cloud Image Template on Proxmox).

Feel free to comment or send a pull request. Thank you ๐Ÿค—

proxmox-cloud-init's People

Contributors

chris2k20 avatar

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.