Managed repo/norepo preseed based on Virtual machine status, as usual.

This commit is contained in:
Emiliano Vavassori 2015-09-28 23:25:06 +02:00
parent e08f65f93a
commit d0425d581b
2 changed files with 6 additions and 16 deletions

View File

@ -61,12 +61,14 @@
template:
src: preseed/edubuntu.seed
dest: /var/lib/nethserver/ibay/ks/preseed/edubuntu.seed
when: ansible_bios_version != "VirtualBox"
sudo: yes
- name: Copia preseed senza repo
copy:
src: preseed/edubuntu-nomirror.seed
dest: /var/lib/nethserver/ibay/ks/preseed/edubuntu-nomirror.seed
dest: /var/lib/nethserver/ibay/ks/preseed/edubuntu.seed
when: ansible_bios_version == "VirtualBox"
sudo: yes
- name: Copia script post-installazione per client

View File

@ -23,29 +23,17 @@ MENU BEGIN
MENU TITLE Edubuntu Classica
LABEL edubuntu-64
MENU LABEL Installa Edubuntu 64 bit (nomirror)
LINUX /ubuntu/14.04/amd64/linux
INITRD /ubuntu/14.04/amd64/initrd.gz
APPEND locale=it_IT.UTF-8 keyboard-configuration/layoutcode=it url=http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/edubuntu-nomirror.seed
LABEL edubuntu-64-mirr
MENU LABEL Installa Edubuntu 64 bit (con mirror)
MENU LABEL Installa Edubuntu 64 bit
LINUX /ubuntu/14.04/amd64/linux
INITRD /ubuntu/14.04/amd64/initrd.gz
APPEND locale=it_IT.UTF-8 keyboard-configuration/layoutcode=it url=http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/edubuntu.seed
LABEL edubuntu-32
MENU LABEL Installa Edubuntu 32 bit (nomirror)
LINUX /ubuntu/14.04/i386/linux
INITRD /ubuntu/14.04/i386/initrd.gz
APPEND locale=it_IT.UTF-8 keyboard-configuration/layoutcode=it url=http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/edubuntu-nomirror.seed
LABEL edubuntu-32-mirr
MENU LABEL Installa Edubuntu 32 bit (con mirror)
MENU LABEL Installa Edubuntu 32 bit
LINUX /ubuntu/14.04/i386/linux
INITRD /ubuntu/14.04/i386/initrd.gz
APPEND locale=it_IT.UTF-8 keyboard-configuration/layoutcode=it url=http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/edubuntu.seed
MENU SEPARATOR
LABEL return-edu