I'm using a bridged network on a vagrant VM with chef-client. knife node show test1-vagrant
shows an ip address of 10.0.2.15, which is eth0. eth1 is 192.168.1.5, which is what DHCP gave it. How can i get chef thinking the ip address is 192.168.1.5 instead, so that I can knife ssh -a ipaddress?
Home
/
user-92868
Ron Garrity's questions
I have a linux server and a whole bunch of scripts that are used to run reports off of some databases and also sync data among various databases. All these scripts are to be run in cron. Should I install them to /home/scripts/
and run them in scripts cron? Or should I install them to /usr/share/scripts/
(or should they be somewhere else) and run them in root's cron? I kind of like the idea of having all the scripts in one directory (as they have many subdirectories). They'll also be version controlled. Oh, and the server is dedicated to just these scripts.