Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 609 Bytes

provisioner.md

File metadata and controls

26 lines (19 loc) · 609 Bytes

Provisioner usage

There are two provisioning actions possible: sshbackward and reconnect.

Sshbackward

Remove the temporary net1 adapter. Inside the VM this usually triggers the routes back to the provisioning machine on net0.

provisioner "proxmox" {
    action = "sshbackward"
}

Reconnect

Replace the temporary net1 adapter with a new persistent net1.

provisioner "proxmox" {
    action = "reconnect"
    net1 = "virtio,bridge=vmbr0,tag=99"
}

If net1 needs a config other than DHCP you should prior to this use provisioner "remote-exec" to modify the network config.