I have a single build hook script at /var/lib/metalware/build_hooks/myscript.sh with the following:
echo "this is for <%= node.name %>" >> /root/<%= node.name %>.txt
If I attempt to build a group with 10 nodes I get a newline for each node
[root@gateway [aang] ~]# metal build -g nodes
Waiting for nodes to report as built...
(Ctrl-C to terminate)
^CExiting...
Run the complete_hook for nodes as if build succeeded?
[yes/no]
yes
Done.
Ideally these would be suppressed as it would massively effect the output when building on larger groups.
I have a single build hook script at
/var/lib/metalware/build_hooks/myscript.sh
with the following:If I attempt to build a group with 10 nodes I get a newline for each node
Ideally these would be suppressed as it would massively effect the output when building on larger groups.