docker.sh: a small interactive shell hack for docker
Usage: ./docker.sh [base-image-name]
docker.sh: a small interactive shell hack for docker
Usage: ./docker.sh [base-image-name]
#Knife invocations supply FQDN as the node name at creation time and this becomes hostname( option -N) | |
execute "Configure Hostname" do | |
command "hostname --file /etc/hostname" | |
action :nothing | |
end | |
#Ensure the hostname of the system is set to knife provided node name | |
file "/etc/hostname" do | |
content node.name |