aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/preseed_chef-admin.pem
blob: 4d098bd80c044c32e5649d37a924a48b6e74d0c5 (plain)
1
2
3
4
5
6
7
8
#if $getVar('chef_admin_file', '') == ""
    #set chef_admin_file = '/etc/chef-server/admin.pem'
#end if
#set f = $open($chef_admin_file)
cat << EOL > /etc/chef/admin.pem
#echo $f.read()
EOL
#silent $f.close()