source: open-sysclone/trunk/fuentes/open-sysclone-server.install/usr/share/n4d/templates/OpenSysClone/RestoreImageMulticast.tpl @ 6572

Last change on this file since 6572 was 6572, checked in by daduve, 2 years ago

Updating tpl for pxe menu with new clonezilla in open-sysclone-system

File size: 1.6 KB
Line 
1<?php
2
3// Adding in PXE Menu OpenSysClone Restore Image in HDD local from server, multicast mode
4
5$MenuEntryList=array();
6$MenuEntry=new stdClass();
7$MenuEntry->id="opensysclone";
8$MenuEntry->label="OSC: Restaurar MltCast {{ NAME_FILE }}";
9$MenuEntry->menuString='LABEL Restaurar MltCast  {{ NAME_FILE }}
10MENU LABEL OpenSysClone: Restaurar Imagen Multicast {{ NAME_FILE }}
11KERNEL opensysclone-system/vmlinuz
12APPEND initrd=opensysclone-system/initrd.img boot=live union=overlay config noswap noprompt vga=788 ip=frommedia ethdevice-timeout=60 fetch={{ OPENSYSCLONE_SQUASHFS_PROTOCOL }}://{{ SRV_IP }}/{{ PATH_SQUASHFS }}/filesystem.squashfs ocs_prerun="dhclient -v eth0" ocs_prerun2="mount -t nfs {{ SRV_IP }}:{{ PATH_FILE }} /home/partimag" ocs_prerun3="busybox tftp -g -r /opensysclone-system/testservermount.sh -l /tmp/testservermount.sh {{ SRV_IP }}" ocs_prerun4="bash /tmp/testservermount.sh" ocs_prerun5="sleep 5" ocs_prerun6="busybox tftp -g -r /opensysclone-system/{{ HOST_OPERATION }} -l /tmp/ejecuta.sh {{ SRV_IP }}" ocs_prerun7="bash /tmp/ejecuta.sh" ocs_postrun="echo @@@@@@@@@@@@@@@@@@@@@@@; sleep 3; echo RESTORING_HOSTNAME_FILES ; echo @@@@@@@@@@@@@@@@"  ocs_postrun2="busybox tftp -g -r /opensysclone-system/hostnamerestore.sh -l /tmp/ejecuta.sh {{ SRV_IP }}" ocs_postrun3="bash /tmp/ejecuta.sh ; {{  FINAL_ACTION }}" ocs_live_run="ocs-sr  -g auto -icds -k1 -r -p command --mcast-port 2232 multicast_restoredisk {{ NAME_FILE }} {{ HDD_DISK }}" keyboard-layouts=NONE ocs_live_batch="no" locales="es_ES.UTF-8" nolocales';
13array_push($MenuEntryList, $MenuEntry);
14
15// "Return" MenuEntryListObject
16$MenuEntryListObject=$MenuEntryList;
17
18
19
20?>
Note: See TracBrowser for help on using the repository browser.