Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
'/etc/ganeti/instance-debootstrap/variants/dsa.conf':
content => template('ganeti2/instance-debootstrap/variants/dsa.conf.erb'),
;
+ '/etc/ganeti/instance-debootstrap/variants/dsa-wheezy.conf':
+ content => template('ganeti2/instance-debootstrap/variants/dsa-wheezy.conf.erb'),
+ ;
'/etc/ganeti/instance-debootstrap/hooks/00-dsa-configure-networking':
content => template('ganeti2/instance-debootstrap/hooks/00-dsa-configure-networking.erb'),
mode => '0555',
--- /dev/null
+<%=
+case scope.lookupvar('::cluster')
+ when "ganeti2.debian.org" then 'MIRROR="http://mirror-ubc.debian.org/debian"'
+ when "ganeti-osuosl.debian.org" then 'MIRROR="http://debian.osuosl.org/debian"'
+ when "ganeti3.debian.org" then 'MIRROR="http://mirror.ayous.org/debian"'
+ else 'MIRROR="http://http.debian.net/debian"'
+end
+%>
+ARCH="amd64"
+SUITE="wheezy"