Changeset 395 for trunk


Ignore:
Timestamp:
Sep 28, 2009, 1:14:04 AM (15 years ago)
Author:
sebas
Message:

agrego el d-i para powerpc... a terminar

Location:
trunk/puppet/modules/di_netboot_assistant
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/di_netboot_assistant/README

    r383 r395  
    99configure your dhcp server correctly.
    1010
    11 
    1211Mon Sep 14 01:31:07 UTC 2009
    1312
     13=== powerpc arch ===
     14Since powerpc is not using pxe service to boot and uses the firmware,
     15we have to go a bit differently.
     16http://wiki.ppckernel.org/w/Mac_Netboot
     17
     18==== netboot powerpc ===
     19hold : command + alt + o + f
     20
     21boot enet:<ip_of_the_tftp_server>,yaboot
     22
  • trunk/puppet/modules/di_netboot_assistant/files/di-sources.list

    r380 r395  
    7878daily-gtk       i386    http://people.debian.org/~joeyh/d-i/images/daily/       netboot/gtk/netboot.tar.gz
    7979
     80# Daily netboot DI image for powerpc
     81daily   powerpc http://d-i.debian.org/daily-images/powerpc/daily/powerpc/       netboot/mini.iso
     82
    8083
    8184
  • trunk/puppet/modules/di_netboot_assistant/manifests/init.pp

    r384 r395  
    4949   }
    5050}
     51
     52class di_netboot_assistant::debian::powerpc::daily {
     53
     54    package { [ "tftpd-hpa" ]: ensure => installed }
     55
     56    file { ["/var/lib/tftpboot/debian-installer", "/var/lib/tftpboot/debian-installer/daily", "/var/lib/tftpboot/debian-installer/daily/powerpc/"]:
     57      ensure => directory,
     58      owner => root,
     59      group => root,
     60      require => Package["tftpd-hpa"];
     61    }
     62
     63   fetch_netboot_powerpc { [ "boot.msg", "initrd.gz", "vmlinux", "yaboot", "yaboot.conf" ]:  }
     64
     65   $mirror_daily_di = "http://d-i.debian.org/daily-images/powerpc/daily/powerpc/netboot"
     66
     67   define fetch_netboot_powerpc($mirror = "http://d-i.debian.org/daily-images/powerpc/daily/powerpc/netboot") {
     68
     69#   file { ["/var/lib/tftpboot/debian-installer/daily1", "/var/lib/tftpboot/debian-installer/daily1/powerpc/"]:
     70#      ensure => directory,
     71#      owner => root,
     72#      group => root,
     73#      require => [Package["tftpd-hpa"]];
     74#    }
     75
     76    exec { "wget -O /var/lib/tftpboot/debian-installer/daily/powerpc/$name -q $mirror1/$name":
     77      creates => "/var/lib/tftpboot/debian-installer/daily/powerpc/$name",
     78      path => "/usr/bin",
     79      require => [Package["tftpd-hpa"], File["/var/lib/tftpboot/debian-installer/daily/powerpc/"]]
     80    }
     81   }
     82}
     83
     84class di_netboot_assistant::debian::powerpc::squeeze {
     85
     86    file { ["/var/lib/tftpboot/debian-installer/squeeze", "/var/lib/tftpboot/debian-installer/squeeze/powerpc/"]:
     87      ensure => directory,
     88      owner => root,
     89      group => root,
     90      require => Package["tftpd-hpa"];
     91    }
     92
     93   fetch_netboot_powerpc_squeeze { [ "boot.msg", "initrd.gz", "vmlinux", "yaboot", "yaboot.conf" ]:  }
     94
     95   define fetch_netboot_powerpc_squeeze($mirror = "http://debian.torredehanoi.org/debian/dists/squeeze/main/installer-powerpc/current/images/powerpc/netboot") {
     96
     97   exec { "wget -O /var/lib/tftpboot/debian-installer/squeeze/powerpc/$name -q $mirro1/$name":
     98     creates => "/var/lib/tftpboot/debian-installer/squeeze/powerpc/$name",
     99     path => "/usr/bin",
     100     require => [Package["tftpd-hpa"], File["/var/lib/tftpboot/debian-installer/squeeze/powerpc/"]]
     101   }
     102  }
     103}
Note: See TracChangeset for help on using the changeset viewer.