Commit 010f850c authored by DELABROYE Dimitri's avatar DELABROYE Dimitri
Browse files

[generators] kadeploy

- make vmlinuz and initrd configurable
- default value for prod : wheezy
- default value for dev : jessie
parent 16c2b298
......@@ -47,8 +47,10 @@ boot:
deploy:<%
if !data['deploy.drivers'].nil? %>
drivers: <%= data['deploy.drivers'] %><% end %>
vmlinuz: kernels/deploy-wheezy-vmlinuz-1.0.2-g5k
initrd: kernels/deploy-wheezy-initrd-1.0.2-g5k
vmlinuz: <%= data['deploy.vmlinuz'] ? data['deploy.vmlinuz'] :
suffix == '' ? 'kernels/deploy-wheezy-vmlinuz-1.0.2-g5k' : 'kernels/kadeploy3_deploy_kernel-jessie_vmlinuz' %>
initrd: <%= data['deploy.initrd'] ? data['deploy.initrd'] :
suffix == '' ? 'kernels/deploy-wheezy-initrd-1.0.2-g5k' : 'kernels/kadeploy3_deploy_kernel-jessie_initrd.img' %>
params: <%= data['deploy.params'] %>
supported_fs: ext2, ext3, ext4<%
if !data['nfsroot.params'].nil? %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment