feat: manage proxmox nodes
- change /etc/hosts to meet proxmox requirements - add proxmox node role - add init, params, repo, install, clusterjoin classes
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/expect -f
|
||||
set timeout -1
|
||||
set password [lindex $argv 0]
|
||||
set ip [lindex $argv 1]
|
||||
|
||||
spawn pvecm add $ip
|
||||
expect "Please enter superuser (root) password for"
|
||||
send "$password\r"
|
||||
expect "The authenticity of host"
|
||||
send "yes\r"
|
||||
expect eof
|
||||
@@ -0,0 +1,2 @@
|
||||
---
|
||||
pve_clusterinit_master: <%= @clusterinit_master %>
|
||||
Reference in New Issue
Block a user