Last change
on this file since 379 was
379,
checked in by sebas, 15 years ago
|
la base del modules di_netboot_assistant
|
File size:
1010 bytes
|
Rev | Line | |
---|
[379] | 1 | # copyright <sebas @ koumbit.org> |
---|
| 2 | # Licence: GPL |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | class di_netboot_assistant { |
---|
| 7 | |
---|
| 8 | # sources.list with the lastest Ubuntu releases |
---|
| 9 | file { "/etc/di-netboot-assistant/di-sources.list": |
---|
| 10 | owner => root, |
---|
| 11 | group => root, |
---|
| 12 | mode => 644, |
---|
| 13 | source => "puppet:///di_netboot_assistant/di-sources.list" |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | # some customization of the pxe menu |
---|
| 17 | file { "/etc/di-netboot-assistant/pxelinux.HEAD": |
---|
| 18 | owner => root, |
---|
| 19 | group => root, |
---|
| 20 | mode => 644, |
---|
| 21 | source => "puppet:///di_netboot_assistant/pxelinux.HEAD" |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | ## todo: parse the configurations and a preseed... |
---|
| 27 | # add the repo for hardy and jaunty |
---|
| 28 | # put the pxelinux.head.HEAD before executing the following |
---|
| 29 | # exec : di-netboot-assistant (--verbose --offline) install jaunty --arch=amd64,i386 |
---|
| 30 | # exec : di-netboot-assistant (--verbose --offline) install hardy --arch=amd64,i386 |
---|
| 31 | # exec : di-netboot-assistant (--verbose --offline) install lenny --arch=amd64,i386 |
---|
| 32 | # |
---|
| 33 | |
---|
| 34 | package { [ "di-netboot-assistant" ]: ensure => installed } |
---|
| 35 | |
---|
| 36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.