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

Last change on this file since 647 was 647, checked in by daduve, 4 years ago

Ading file

File size: 1.2 KB
Line 
1<?php
2
3// Adding in PXE Menu OpenSysClone Save Image from HDD local in server
4$MenuEntryList=array();
5$MenuEntry=new stdClass();
6$MenuEntry->id="opensysclone";
7$MenuEntry->label="OSC: Crear en el server la imagen {{ NAME_FILE }}";
8$MenuEntry->menuString='LABEL Grabar Imagen {{ NAME_FILE }}
9MENU LABEL OpenSysClone Grabar Imagen {{ NAME_FILE }}
10KERNEL opensysclone-system/vmlinuz
11APPEND initrd=opensysclone-system/initrd.img boot=live config noswap nolocales edd=on nomodeset noprompt nosplash 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_live_run="ocs-sr -fsck-src-part-y -q2  -j2 -z1 -i 2000 -p {{ FINAL_ACTION }} savedisk {{ NAME_FILE }} {{ HDD_DISK }}" ocs_live_extra_param="" ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="es_ES.UTF-8" vga=788 ip=frommedia ethdevice-timeout=60 fetch={{ OPENSYSCLONE_SQUASHFS_PROTOCOL }}://{{ SRV_IP }}/{{ PATH_SQUASHFS }}/filesystem.squashfs';
12array_push($MenuEntryList, $MenuEntry);
13
14// "Return" MenuEntryListObject
15$MenuEntryListObject=$MenuEntryList;
16
17
18
19?>
20
21
22
Note: See TracBrowser for help on using the repository browser.