Giter Site home page Giter Site logo

packer-proxmox-templates's Introduction

packer-proxmox-templates

Proxmox images built with Packer

Requires Proxmox >= 1.6.6 which fixes proxmox boot order change in pve-6.2-15 https://git.proxmox.com/?p=qemu-server.git;a=commit;h=2141a802b843475be82e04d8c351d6f7cd1a339a hashicorp/packer#10252

Links

Adding packer user with correct privileges

pveum useradd packer@pve pveum passwd packer@pve pveum roleadd Packer -privs "VM.Config.Disk VM.Config.CPU VM.Config.Memory Datastore.AllocateSpace Sys.Modify VM.Config.Options VM.Allocate VM.Audit VM.Console VM.Config.CDROM VM.Config.Network VM.PowerMgmt VM.Config.HWType VM.Monitor" pveum aclmod / -user packer@pve -role Packer

#apk add dos2unix --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted

Running on NAT'ed network (ChromeOS Linux, WSL2)

WSL2 runs a virtual network . If running packer on WSL2, some firewall and port-forwarding settings must be applied on Windows in order for packer's HTTP server to be accessible to the virtual machine. A few packer variables should also be set in order to use the known, port-forwarded port and override the packer HTTP IP with the Windows host IP that's accessible to the VM being built.

Alpine cloud-init drive not loading

cloud-init tries to mount the Proxmox cloud-init CDROM with the -t auto flag. iso9660 is not recognized by default in the virt alpine image. The 'isofs' module needs to be loaded in order for cloud-init to mount the proxmox cloud-init drive

# Check if iso9660 is in /proc/filesystems
cat /proc/filesystems

packer-proxmox-templates's People

Contributors

sdhibit avatar unclesamswiss avatar b- 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.