Reputation: 21
I have facing disk space issue whenever am running the
knife bootstrap ....
command on my workstation. By using the knife bootstrap command am installing the "chef-client" from the specific local URL and installing into the destination node.
In the destination node actually my /home
folder does not have sufficient space and also I can't expand this /home
.
so can anyone guide me, how can I redirect the bootstrap default path to some other path(/etc
, /tmp
)in node.
Upvotes: 0
Views: 857
Reputation: 15784
There's a bunch of way to achieve it. I would go with a different destination as the install.sh script takes it as parameter. knife bootstrap
has no option to set this extra arg but you can specify a fully new command.
Using the base one with a small addition this would give:
knife bootstrap --bootstrap-install-command "curl -L https://omnitruck.chef.io/install.sh | sudo bash -s -- -d /tmp" [ rest of usual bootstrap options]
Another option is to create your own bootstrap template, Documentation is here
Upvotes: 1