Skip to content

Commit

Permalink
Added Template download provisioner
Browse files Browse the repository at this point in the history
  • Loading branch information
rf152 committed Apr 13, 2023
1 parent cecf3de commit bff8fdd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ Vagrant.configure("2") do |config|
host: 8006

# install and configure proxmox
config.vm.provision "shell",
config.vm.provision "Bootstrap System",
type: "shell",
privileged: true,
path: './scripts/vagrant-bootstrap.sh'

config.vm.provision "Import LXC Template",
type: "shell",
privileged: true,
path: './scripts/vagrant-get-container-template.sh',
run: "always"

config.vm.provider :virtualbox do |vb|
vb.memory = 2048
vb.cpus = 2
Expand Down
3 changes: 3 additions & 0 deletions scripts/vagrant-get-container-template.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

pveam download local alpine-3.17-default_20221129_amd64.tar.xz

0 comments on commit bff8fdd

Please sign in to comment.