Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newline printed for each iteration of build_hooks #449

Open
ColonelPanics opened this issue Sep 14, 2018 · 0 comments
Open

Newline printed for each iteration of build_hooks #449

ColonelPanics opened this issue Sep 14, 2018 · 0 comments
Labels

Comments

@ColonelPanics
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant