Commit 8ea90e71 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Set wwsh provision in ohpc-ops

parent f4167381
......@@ -129,4 +129,12 @@ resource "null_resource" "ohpc_ops" {
"sudo wwsh -y node new ${node} -I ${net[0].fixed_ip_v4} --hwadd ${net[0].mac}"
]
}
# Set provision files
provisioner "remote-exec" {
inline = [
for node in module.nodes.name:
"sudo wwsh -y provision set ${node} --files passwd,group,shadow,munge.key,slurm.conf,dynamic_hosts,network,lmod.sh,lmod.csh --bootlocal=exit"
]
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment