This commit is contained in:
parent
d80458d2f2
commit
ef4e30b324
@ -10,6 +10,7 @@ steps:
|
|||||||
- root
|
- root
|
||||||
- README.md
|
- README.md
|
||||||
- COPYING
|
- COPYING
|
||||||
|
- createlinks
|
||||||
when:
|
when:
|
||||||
event: [ push, tag ]
|
event: [ push, tag ]
|
||||||
|
|
||||||
|
@ -32,12 +32,11 @@ By running the above command, the **memtest** image will be used for one boot on
|
|||||||
## TODO / ideas ##
|
## TODO / ideas ##
|
||||||
|
|
||||||
* Create a menu, for interactive selection
|
* Create a menu, for interactive selection
|
||||||
* PROCESSO APACHE A PARTE!!!!!
|
* FIX createlinks
|
||||||
|
|
||||||
## License ##
|
## License ##
|
||||||
|
|
||||||
As the rest of the LibreSchool project, libreschool-pxeserver is licensed under [GPLv3][] license.
|
As the rest of the LibreSchool project, libreschool-pxeserver is licensed under [GPLv3][] license.
|
||||||
|
|
||||||
[LibreSchool]: https://libreschool.org "LibreSchool Project Homepage"
|
[LibreSchool]: https://libreschool.org "LibreSchool Project Homepage"
|
||||||
[NethServer]: https://www.nethserver.org
|
|
||||||
[GPLv3]: https://www.gnu.org/licenses/gpl-3.0.html
|
[GPLv3]: https://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
41
createlinks
Normal file
41
createlinks
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
use esmith::Build::CreateLinks qw(:all);
|
||||||
|
|
||||||
|
event_templates('domain-modify', qw(
|
||||||
|
/etc/httpd/pxeserver-httpd/httpd.conf
|
||||||
|
/srv/ipxe/default_preseed.txt
|
||||||
|
));
|
||||||
|
|
||||||
|
event_services("domain-modify", qw(
|
||||||
|
pxeserver-httpd restart
|
||||||
|
nfs restart
|
||||||
|
));
|
||||||
|
|
||||||
|
event_services("interface-update", qw(
|
||||||
|
pxeserver-httpd restart
|
||||||
|
nfs restart
|
||||||
|
rpcbind restart
|
||||||
|
));
|
||||||
|
|
||||||
|
event_templates('interface-update', qw(
|
||||||
|
/etc/dnsmasq.conf
|
||||||
|
/etc/exports
|
||||||
|
));
|
||||||
|
|
||||||
|
event_templates('hostname-modify', qw(
|
||||||
|
/srv/ipxe/default_preseed.txt
|
||||||
|
));
|
||||||
|
|
||||||
|
event_actions("libreschool-pxeserver-update", qw(
|
||||||
|
initialize-default-databases 00
|
||||||
|
));
|
||||||
|
|
||||||
|
event_templates("libreschool-pxeserver-update", qw(
|
||||||
|
/etc/httpd/pxeserver-httpd/httpd.conf
|
||||||
|
/srv/ipxe/common.ipxe.cfg
|
||||||
|
/srv/ipxe/default_preseed.txt
|
||||||
|
/srv/ipxe/success_script.sh
|
||||||
|
/etc/dnsmasq.conf
|
||||||
|
/etc/exports
|
||||||
|
));
|
@ -1,6 +1,6 @@
|
|||||||
Summary: LibreSchool PXE server
|
Summary: LibreSchool PXE server
|
||||||
Name: libreschool-pxeserver
|
Name: libreschool-pxeserver
|
||||||
Version: 1.0.0
|
Version: 1.1.0
|
||||||
Release: 1.ns7
|
Release: 1.ns7
|
||||||
License: GPL
|
License: GPL
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -9,9 +9,11 @@ Source0: %{name}-%{version}.tar.gz
|
|||||||
Source1: COPYING
|
Source1: COPYING
|
||||||
URL: %{url_prefix}/%{name}
|
URL: %{url_prefix}/%{name}
|
||||||
Requires: libreschool-release
|
Requires: libreschool-release
|
||||||
|
Requires: libreschool-client-manager
|
||||||
Requires: nethserver-tftp
|
Requires: nethserver-tftp
|
||||||
Requires: ipxe-bootimgs
|
Requires: ipxe-bootimgs
|
||||||
Requires: httpd, php, sudo, php-xml, php-mcrypt
|
Requires: httpd, php, sudo, php-xml, php-mcrypt
|
||||||
|
Requires: nfs-utils
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
@ -25,6 +27,7 @@ LibreSchool PXE server
|
|||||||
%setup
|
%setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
perl createlinks
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -46,12 +49,31 @@ if [ "$1" = 2 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/etc/e-smith/events/actions/initialize-default-databases
|
chkconfig nfs on
|
||||||
|
chkconfig rpcbind on
|
||||||
|
/sbin/e-smith/db configuration set nfs service \
|
||||||
|
status enabled \
|
||||||
|
TCPPorts 2049,20048 \
|
||||||
|
UDPPorts 2049,20048 \
|
||||||
|
access private
|
||||||
|
/sbin/e-smith/db configuration set rpcbind service \
|
||||||
|
status enabled \
|
||||||
|
TCPPort 111 \
|
||||||
|
UDPPort 111 \
|
||||||
|
access private
|
||||||
/sbin/e-smith/db configuration setprop dnsmasq \
|
/sbin/e-smith/db configuration setprop dnsmasq \
|
||||||
tftp-status enabled \
|
tftp-status enabled \
|
||||||
dhcp-boot undionly.kpxe
|
dhcp-boot undionly.kpxe
|
||||||
|
|
||||||
|
/etc/e-smith/events/actions/initialize-default-databases
|
||||||
|
|
||||||
|
/sbin/e-smith/expand-template /etc/exports
|
||||||
/sbin/e-smith/expand-template /etc/dnsmasq.conf
|
/sbin/e-smith/expand-template /etc/dnsmasq.conf
|
||||||
/sbin/e-smith/signal-event nethserver-dnsmasq-save
|
/sbin/e-smith/signal-event nethserver-dnsmasq-save
|
||||||
|
[ -e /srv/iso ] && [ ! -d /srv/iso ] && rm -rf /srv/iso
|
||||||
|
[ ! -d /srv/iso ] && mkdir /srv/iso
|
||||||
|
[ -e /srv/mounts ] && [ ! -d /srv/mounts ] && rm -rf /srv/mounts
|
||||||
|
[ ! -d /srv/mounts ] && mkdir /srv/mounts
|
||||||
[ -e /var/lib/tftpboot/undionly.kpxe ] && [ ! -L /var/lib/tftpboot/undionly.kpxe ] && rm /var/lib/tftpboot/undionly.kpxe
|
[ -e /var/lib/tftpboot/undionly.kpxe ] && [ ! -L /var/lib/tftpboot/undionly.kpxe ] && rm /var/lib/tftpboot/undionly.kpxe
|
||||||
ln -s /usr/share/ipxe/undionly.kpxe /var/lib/tftpboot/undionly.kpxe
|
ln -s /usr/share/ipxe/undionly.kpxe /var/lib/tftpboot/undionly.kpxe
|
||||||
[ -e /usr/sbin/pxeserver-httpd ] && [ ! -L /usr/sbin/pxeserver-httpd ] && rm /usr/sbin/pxeserver-httpd
|
[ -e /usr/sbin/pxeserver-httpd ] && [ ! -L /usr/sbin/pxeserver-httpd ] && rm /usr/sbin/pxeserver-httpd
|
||||||
@ -60,6 +82,9 @@ ln -s /usr/share/ipxe/undionly.kpxe /var/lib/tftpboot/undionly.kpxe
|
|||||||
/sbin/e-smith/expand-template /etc/httpd/pxeserver-httpd/httpd.conf
|
/sbin/e-smith/expand-template /etc/httpd/pxeserver-httpd/httpd.conf
|
||||||
/sbin/e-smith/signal-event runlevel-adjust
|
/sbin/e-smith/signal-event runlevel-adjust
|
||||||
/usr/bin/systemctl --no-block start pxeserver-httpd >/dev/null 2>&1 || :
|
/usr/bin/systemctl --no-block start pxeserver-httpd >/dev/null 2>&1 || :
|
||||||
|
/usr/bin/systemctl --no-block start nfs >/dev/null 2>&1 || :
|
||||||
|
/usr/bin/systemctl --no-block start rpcbind >/dev/null 2>&1 || :
|
||||||
|
/usr/sbin/exportfs -ra
|
||||||
/sbin/e-smith/signal-event firewall-adjust
|
/sbin/e-smith/signal-event firewall-adjust
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -77,6 +102,8 @@ fi
|
|||||||
#fi
|
#fi
|
||||||
if [ "$1" = 0 ]; then
|
if [ "$1" = 0 ]; then
|
||||||
#uninstallation
|
#uninstallation
|
||||||
|
/sbin/e-smith/expand-template /etc/exports
|
||||||
|
/usr/sbin/exportfs -ra
|
||||||
/sbin/e-smith/expand-template /etc/dnsmasq.conf
|
/sbin/e-smith/expand-template /etc/dnsmasq.conf
|
||||||
rm /var/lib/tftpboot/undionly.kpxe
|
rm /var/lib/tftpboot/undionly.kpxe
|
||||||
/sbin/e-smith/db configuration delete pxeserver-httpd
|
/sbin/e-smith/db configuration delete pxeserver-httpd
|
||||||
@ -85,5 +112,9 @@ if [ "$1" = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Mar 24 2020 Paolo Asperti <paolo@asperti.com> - 1.0-1.ns7
|
* Wed Apr 1 2020 Paolo Asperti <paolo@asperti.com> - 1.1.0-1.ns7
|
||||||
|
- Added a lot of PXE images
|
||||||
|
- Added iso download and check script
|
||||||
|
|
||||||
|
* Tue Mar 24 2020 Paolo Asperti <paolo@asperti.com> - 1.0.0-1.ns7
|
||||||
- First release for NethServer 7
|
- First release for NethServer 7
|
||||||
|
1
root/etc/e-smith/db/configuration/defaults/nfs/TCPPorts
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/TCPPorts
Normal file
@ -0,0 +1 @@
|
|||||||
|
2049,20048
|
1
root/etc/e-smith/db/configuration/defaults/nfs/UDPPorts
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/UDPPorts
Normal file
@ -0,0 +1 @@
|
|||||||
|
2049,20048
|
1
root/etc/e-smith/db/configuration/defaults/nfs/access
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/access
Normal file
@ -0,0 +1 @@
|
|||||||
|
private
|
1
root/etc/e-smith/db/configuration/defaults/nfs/status
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/status
Normal file
@ -0,0 +1 @@
|
|||||||
|
enabled
|
1
root/etc/e-smith/db/configuration/defaults/nfs/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/nfs/type
Normal file
@ -0,0 +1 @@
|
|||||||
|
service
|
@ -0,0 +1 @@
|
|||||||
|
111
|
@ -0,0 +1 @@
|
|||||||
|
111
|
@ -0,0 +1 @@
|
|||||||
|
private
|
@ -0,0 +1 @@
|
|||||||
|
enabled
|
1
root/etc/e-smith/db/configuration/defaults/rpcbind/type
Normal file
1
root/etc/e-smith/db/configuration/defaults/rpcbind/type
Normal file
@ -0,0 +1 @@
|
|||||||
|
service
|
@ -0,0 +1,3 @@
|
|||||||
|
PERMS=0755
|
||||||
|
UID="root"
|
||||||
|
GID="root"
|
@ -0,0 +1,10 @@
|
|||||||
|
#
|
||||||
|
# 50libreschool-pxeserver
|
||||||
|
#
|
||||||
|
{
|
||||||
|
use esmith::NetworksDB;
|
||||||
|
my $ndb = esmith::NetworksDB->open_ro() || return;
|
||||||
|
my $LocalIP = $ndb->green()->prop('ipaddr') || return;
|
||||||
|
my $LocalNM = $ndb->green()->prop('netmask') || return;
|
||||||
|
sprintf "/srv/mounts\t%s/%s(ro,no_root_squash,sync,no_subtree_check,crossmnt)\n", $LocalIP, $LocalNM;
|
||||||
|
}
|
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
set locale it_IT ||
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
use esmith::ConfigDB;
|
||||||
|
my $configdb = esmith::ConfigDB->open();
|
||||||
|
|
||||||
|
$pxeserver_port = $configdb->get('pxeserver-httpd')->prop('TCPPort')
|
||||||
|
or die "cannot get ManagementKeyFile value";
|
||||||
|
|
||||||
|
$OUT .= "set base-url http://\${dhcp-server}:$pxeserver_port ||\n";
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
#!ipxe
|
@ -0,0 +1,64 @@
|
|||||||
|
#
|
||||||
|
# 10Common
|
||||||
|
#
|
||||||
|
|
||||||
|
# Enable extras.ubuntu.com.
|
||||||
|
d-i apt-setup/extras boolean true
|
||||||
|
# Install the Kubuntu desktop.
|
||||||
|
#tasksel tasksel/first multiselect kubuntu-desktop
|
||||||
|
# Install KDE translation packages.
|
||||||
|
#d-i pkgsel/language-pack-patterns string language-pack-kde-$LL kde-i18n-$LL
|
||||||
|
# Install the KDE oem-config frontend (if in OEM mode).
|
||||||
|
#d-i oem-config-udeb/frontend string kde
|
||||||
|
# On live DVDs, don't spend huge amounts of time removing substantial
|
||||||
|
# application packages pulled in by language packs. Given that we clearly
|
||||||
|
# have the space to include them on the DVD, they're useful and we might as
|
||||||
|
# well keep them installed.
|
||||||
|
|
||||||
|
# Additional repos
|
||||||
|
d-i apt-setup/multiverse boolean true
|
||||||
|
d-i apt-setup/universe boolean true
|
||||||
|
d-i apt-setup/restricted boolean true
|
||||||
|
d-i apt-setup/partner boolean true
|
||||||
|
|
||||||
|
# Partitioning
|
||||||
|
d-i partman-auto/init_automatically_partition select biggest_free
|
||||||
|
d-i partman-auto/disk string /dev/sda
|
||||||
|
d-i partman-auto/method string regular
|
||||||
|
d-i partman-lvm/device_remove_lvm boolean true
|
||||||
|
d-i partman-md/device_remove_md boolean true
|
||||||
|
d-i partman-auto/choose_recipe select atomic
|
||||||
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||||
|
d-i partman/choose_partition select finish
|
||||||
|
d-i partman/confirm boolean true
|
||||||
|
d-i partman/confirm_nooverwrite boolean true
|
||||||
|
d-i partman/mount_style select uuid
|
||||||
|
d-i user-setup/encrypt-home boolean false
|
||||||
|
|
||||||
|
|
||||||
|
# Time and date
|
||||||
|
d-i clock-setup/utc boolean true
|
||||||
|
d-i time/zone string Europe/Rome
|
||||||
|
d-i clock-setup/ntp boolean true
|
||||||
|
#d-i clock-setup/ntp-server string {{$SystemName}}.{{$DomainName}}
|
||||||
|
d-i clock-setup/ntp-server string pool.ntp.org
|
||||||
|
|
||||||
|
d-i passwd/make-user boolean false
|
||||||
|
d-i passwd/root-password password LibreSchool,1234
|
||||||
|
d-i passwd/root-password-again password LibreSchool,1234
|
||||||
|
|
||||||
|
d-i debian-installer/locale string it_IT
|
||||||
|
d-i debian-installer/language string it
|
||||||
|
d-i debian-installer/country string IT
|
||||||
|
d-i debian-installer/locale string it_IT.UTF-8
|
||||||
|
d-i keyboard-configuration/xkb-keymap select it
|
||||||
|
d-i console-setup/ask_detect boolean false
|
||||||
|
#pkgsel/ignore-incomplete-language-support=true
|
||||||
|
|
||||||
|
# Finish off the install by rebooting the freshly installed Linux Mint desktop
|
||||||
|
d-i ubiquity/reboot boolean true
|
||||||
|
d-i cdrom-detect/eject boolean false
|
||||||
|
|
||||||
|
d-i finish-install/reboot_in_progress note
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
|||||||
|
#
|
||||||
|
# 15DefaultUser
|
||||||
|
#
|
||||||
|
|
||||||
|
d-i passwd/user-fullname string Utente LibreSchool
|
||||||
|
d-i passwd/username string libreschool
|
||||||
|
d-i passwd/user-password password LibreSchool,1234
|
||||||
|
d-i passwd/user-password-again password LibreSchool,1234
|
||||||
|
d-i user-setup/allow-password-weak boolean true
|
||||||
|
|
@ -0,0 +1,23 @@
|
|||||||
|
#
|
||||||
|
# 50SuccessScript
|
||||||
|
#
|
||||||
|
{
|
||||||
|
use esmith::ConfigDB;
|
||||||
|
my $configdb = esmith::ConfigDB->open();
|
||||||
|
|
||||||
|
$pxeserver_port = $configdb->get('pxeserver-httpd')->prop('TCPPort')
|
||||||
|
or die "cannot get ManagementKeyFile value";
|
||||||
|
|
||||||
|
"";
|
||||||
|
|
||||||
|
}
|
||||||
|
d-i preseed/late_command string \
|
||||||
|
in-target wget -O /tmp/success_script.sh http://{{$SystemName}}.{{$DomainName}}:{{$pxeserver_port}}/success_script.sh ; \
|
||||||
|
in-target chmod 0755 /tmp/success_script.sh ; \
|
||||||
|
in-target /tmp/success_script.sh
|
||||||
|
|
||||||
|
ubiquity ubiquity/success_command string \
|
||||||
|
in-target wget -O /tmp/success_script.sh http://{{$SystemName}}.{{$DomainName}}:{{$pxeserver_port}}/success_script.sh ; \
|
||||||
|
in-target chmod 0755 /tmp/success_script.sh ; \
|
||||||
|
in-target /tmp/success_script.sh
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# 30RequiredPackages
|
||||||
|
#
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
|
||||||
|
apt-get -y install \
|
||||||
|
apt-transport-https \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
debconf \
|
||||||
|
debconf-utils \
|
||||||
|
gnupg-agent \
|
||||||
|
openssh-server \
|
||||||
|
software-properties-common
|
@ -0,0 +1,16 @@
|
|||||||
|
#
|
||||||
|
# 40LibreSchoolAptKey
|
||||||
|
#
|
||||||
|
{
|
||||||
|
$OUT .= "cat <<EOF | apt-key add -\n";
|
||||||
|
$OUT .= do {
|
||||||
|
local $/ = undef;
|
||||||
|
open my $fh, "<", "/srv/ipxe/libreschool.asc"
|
||||||
|
or ++$errors;
|
||||||
|
<$fh>;
|
||||||
|
};
|
||||||
|
$OUT .= "EOF\n";
|
||||||
|
if($errors) {
|
||||||
|
die("[ERROR] Cannot load libreschool GPG key!\n");
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
#
|
||||||
|
# 40LibreSchoolRepo
|
||||||
|
#
|
||||||
|
|
||||||
|
. /etc/os-release
|
||||||
|
|
||||||
|
add-apt-repository "deb http://repo.libreschool.org/ubuntu ${UBUNTU_CODENAME} main"
|
||||||
|
apt-get update
|
@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# 42LibreSchoolClient
|
||||||
|
#
|
||||||
|
|
||||||
|
# TODO: get current uuid from e-smith if present
|
||||||
|
|
||||||
|
apt-get -y install libreschool-client
|
@ -0,0 +1,9 @@
|
|||||||
|
#
|
||||||
|
# 50FixNetworkManager
|
||||||
|
#
|
||||||
|
|
||||||
|
cat >/etc/network/interfaces <<EOF
|
||||||
|
# interfaces(5) file used by ifup(8) and ifdown(8)
|
||||||
|
auto lo
|
||||||
|
iface lo inet loopback
|
||||||
|
EOF
|
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# 50SSHKey
|
||||||
|
#
|
||||||
|
{
|
||||||
|
use esmith::ConfigDB;
|
||||||
|
my $configdb = esmith::ConfigDB->open();
|
||||||
|
|
||||||
|
$keyfile = $configdb->get('client-manager')->prop('ManagementKeyFile')
|
||||||
|
or die "cannot get ManagementKeyFile value";
|
||||||
|
my $sshkey;
|
||||||
|
open(my $fh, '<', $keyfile) or die "cannot open file $keyfile";
|
||||||
|
{
|
||||||
|
local $/;
|
||||||
|
$sshkey = <$fh>;
|
||||||
|
}
|
||||||
|
close($fh);
|
||||||
|
|
||||||
|
$OUT .= "mkdir -p /root/.ssh\n";
|
||||||
|
$OUT .= "cat >/root/.ssh/authorized_keys <<EOF\n$sshkey\nEOF\n";
|
||||||
|
$OUT .= "chmod -R go-rwx /root/.ssh\n";
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# ================= DO NOT MODIFY THIS FILE =================
|
||||||
|
#
|
||||||
|
# Manual changes will be lost when this file is regenerated.
|
||||||
|
#
|
||||||
|
# Please read the developer's guide, which is available
|
||||||
|
# at NethServer official site: https://www.nethserver.org
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# This script is called by the preseed, at the very end of a client installation.
|
||||||
|
#
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
#!ipxe
|
|
||||||
|
|
||||||
chain http://boot.alpinelinux.org/boot.ipxe
|
|
||||||
|
|
@ -6,6 +6,8 @@
|
|||||||
* This script manages the loading of the PXE image, based on specific
|
* This script manages the loading of the PXE image, based on specific
|
||||||
* host preferences.
|
* host preferences.
|
||||||
*
|
*
|
||||||
|
* php version 5.4.16
|
||||||
|
*
|
||||||
* @category Client_Management
|
* @category Client_Management
|
||||||
* @package Libreschool
|
* @package Libreschool
|
||||||
* @author Paolo Asperti <paolo@asperti.com>
|
* @author Paolo Asperti <paolo@asperti.com>
|
||||||
@ -13,6 +15,7 @@
|
|||||||
* @license https://www.gnu.org/licenses/gpl-3.0.en.html GPL-3.0
|
* @license https://www.gnu.org/licenses/gpl-3.0.en.html GPL-3.0
|
||||||
* @version GIT: $Id$
|
* @version GIT: $Id$
|
||||||
* @link https://git.libreschool.org/LibreSchool/libreschool-pxeserver
|
* @link https://git.libreschool.org/LibreSchool/libreschool-pxeserver
|
||||||
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once "EsmithDatabase.php";
|
require_once "EsmithDatabase.php";
|
||||||
@ -90,7 +93,9 @@ function imageExists($i) {
|
|||||||
$pwd = dirname(__FILE__);
|
$pwd = dirname(__FILE__);
|
||||||
$dir = $pwd . '/' . $i;
|
$dir = $pwd . '/' . $i;
|
||||||
$bootfile = $dir . '/boot';
|
$bootfile = $dir . '/boot';
|
||||||
return is_dir($dir) && is_readable($bootfile);
|
$iso_is_mounted = $dir . '/iso_is_mounted';
|
||||||
|
return is_dir($dir) && is_readable($bootfile) &&
|
||||||
|
is_link($iso_is_mounted) && is_readable($iso_is_mounted);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($_REQUEST['mac'])) {
|
if (!isset($_REQUEST['mac'])) {
|
||||||
@ -105,6 +110,7 @@ if (!isValidMAC($_REQUEST['mac'])) {
|
|||||||
$mac = $_REQUEST['mac'];
|
$mac = $_REQUEST['mac'];
|
||||||
$client = getClientFromMAC($mac);
|
$client = getClientFromMAC($mac);
|
||||||
if (!$client) {
|
if (!$client) {
|
||||||
|
// TODO: make up a default for unknown clients
|
||||||
defaultExit();
|
defaultExit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
83
root/srv/ipxe/check_image.sh
Normal file
83
root/srv/ipxe/check_image.sh
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
IMAGE=$1
|
||||||
|
|
||||||
|
IPXEDIR=/srv/ipxe
|
||||||
|
ISODIR=/srv/iso
|
||||||
|
MOUNTSDIR=/srv/mounts
|
||||||
|
IMAGEDIR=${IPXEDIR}/${IMAGE}
|
||||||
|
|
||||||
|
# error if image directory doesn't exists
|
||||||
|
[ ! -d "${IMAGEDIR}" ] && exit 1
|
||||||
|
|
||||||
|
# error if boot file not readable inside image directory
|
||||||
|
[ ! -r "${IMAGEDIR}/boot" ] && exit 2
|
||||||
|
|
||||||
|
# if no iso_checksum file, we need no iso, so we exit succesfully
|
||||||
|
[ ! -f "${IMAGEDIR}/iso_checksum" ] && exit 0
|
||||||
|
|
||||||
|
ISO_FILENAME=$(cat "${IMAGEDIR}/iso_checksum" | awk '{print $2;}')
|
||||||
|
|
||||||
|
# error if no filename inside iso_checksum
|
||||||
|
if [ "a$ISO_FILENAME" = "a" ] ; then
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
# checksum already checked and file exists, we're good
|
||||||
|
if [ -e "${ISODIR}/${ISO_FILENAME}.checksum_ok" ] ; then
|
||||||
|
if [ -r "${ISODIR}/${ISO_FILENAME}" ] ; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# checksum_ok file exists, but no iso... clear the stale file
|
||||||
|
if [ -e "${ISODIR}/${ISO_FILENAME}.checksum_ok" ] ; then
|
||||||
|
if [ ! -e "${ISODIR}/${ISO_FILENAME}" ] ; then
|
||||||
|
rm "${ISODIR}/${ISO_FILENAME}.checksum_ok"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# here we don't have a checksum_ok
|
||||||
|
|
||||||
|
# we have an iso, let's check it
|
||||||
|
cd "${ISODIR}"
|
||||||
|
if [ -e "${ISODIR}/${ISO_FILENAME}" ] ; then
|
||||||
|
sha256sum --quiet -c ${IMAGEDIR}/iso_checksum && touch "${ISODIR}/${ISO_FILENAME}.checksum_ok"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# error if no iso url specified
|
||||||
|
if [ ! -r "${IMAGEDIR}/iso_url" ] ; then
|
||||||
|
exit 4
|
||||||
|
fi
|
||||||
|
|
||||||
|
ISO_URL=$(cat "${IMAGEDIR}/iso_url")
|
||||||
|
|
||||||
|
# the previous iso check wasn't ok, maybe an incomplete download, let's resume it
|
||||||
|
# error if download unsuccessful
|
||||||
|
if [ ! -e "${ISODIR}/${ISO_FILENAME}.checksum_ok" ] ; then
|
||||||
|
wget -c -O "${ISODIR}/${ISO_FILENAME}" "${ISO_URL}" || exit 5
|
||||||
|
|
||||||
|
# we have a complete iso now, let's check it
|
||||||
|
if [ -e "${ISODIR}/${ISO_FILENAME}" ] ; then
|
||||||
|
sha256sum --quiet -c ${IMAGEDIR}/iso_checksum && touch "${ISODIR}/${ISO_FILENAME}.checksum_ok" || rm "${ISODIR}/${ISO_FILENAME}"
|
||||||
|
# we remove the broken iso if the checksum doesn't match
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
# errore if download succesfull but checksum mismatch
|
||||||
|
if [ ! -e "${ISODIR}/${ISO_FILENAME}.checksum_ok" ] ; then
|
||||||
|
exit 6
|
||||||
|
fi
|
||||||
|
|
||||||
|
# create mount directory if doesn't exists
|
||||||
|
if [ ! -d "${MOUNTSDIR}/${ISO_FILENAME}" ] ; then
|
||||||
|
mkdir -p "${MOUNTSDIR}/${ISO_FILENAME}" || exit 7
|
||||||
|
fi
|
||||||
|
|
||||||
|
# if iso already mounted, we're good
|
||||||
|
mountpoint -q "${MOUNTSDIR}/${ISO_FILENAME}" && exit 0
|
||||||
|
|
||||||
|
# otherwise, mount the iso
|
||||||
|
mount "${ISODIR}/${ISO_FILENAME}" "${MOUNTSDIR}/${ISO_FILENAME}" || exit 8
|
||||||
|
|
9
root/srv/ipxe/elementaryos-5.1-64bit-live/boot
Normal file
9
root/srv/ipxe/elementaryos-5.1-64bit-live/boot
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso Zorin-OS-15.2-Core-64-bit.iso ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ splash
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/elementaryos-5.1-64bit-live/initrd
Symbolic link
1
root/srv/ipxe/elementaryos-5.1-64bit-live/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/elementaryos-5.1-stable.20200204.iso/casper/initrd.lz
|
1
root/srv/ipxe/elementaryos-5.1-64bit-live/iso_checksum
Normal file
1
root/srv/ipxe/elementaryos-5.1-64bit-live/iso_checksum
Normal file
@ -0,0 +1 @@
|
|||||||
|
190bbf738db0f15daa9ee4095bb64c307950082819081a969f8edd51f1faab07 elementaryos-5.1-stable.20200204.iso
|
1
root/srv/ipxe/elementaryos-5.1-64bit-live/iso_is_mounted
Symbolic link
1
root/srv/ipxe/elementaryos-5.1-64bit-live/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/elementaryos-5.1-stable.20200204.iso/.disk/info
|
1
root/srv/ipxe/elementaryos-5.1-64bit-live/iso_url
Normal file
1
root/srv/ipxe/elementaryos-5.1-64bit-live/iso_url
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://ams3.dl.elementary.io/download/MTU4NTQ3ODk2Mg==/elementaryos-5.1-stable.20200204.iso
|
1
root/srv/ipxe/elementaryos-5.1-64bit-live/vmlinuz
Symbolic link
1
root/srv/ipxe/elementaryos-5.1-64bit-live/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/elementaryos-5.1-stable.20200204.iso/casper/vmlinuz
|
12
root/srv/ipxe/elementaryos-5.1-64bit-preseed/boot
Normal file
12
root/srv/ipxe/elementaryos-5.1-64bit-preseed/boot
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso elementaryos-5.1-stable.20200204.iso ||
|
||||||
|
set preseedurl ${base-url}/elementaryos-5.1-64bit-preseed/preseed.txt ||
|
||||||
|
|
||||||
|
set kernelparams locale=${locale} keyboard-configuration/modelcode=SKIP automatic-ubiquity url=${preseedurl} ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ -- ${kernelparams}
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/initrd
Symbolic link
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/elementaryos-5.1-stable.20200204.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
190bbf738db0f15daa9ee4095bb64c307950082819081a969f8edd51f1faab07 elementaryos-5.1-stable.20200204.iso
|
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/iso_is_mounted
Symbolic link
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/elementaryos-5.1-stable.20200204.iso/.disk/info
|
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/iso_url
Normal file
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/iso_url
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://ams3.dl.elementary.io/download/MTU4NTQ3ODk2Mg==/elementaryos-5.1-stable.20200204.iso
|
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/preseed.txt
Symbolic link
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/preseed.txt
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../default_preseed.txt
|
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/vmlinuz
Symbolic link
1
root/srv/ipxe/elementaryos-5.1-64bit-preseed/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/elementaryos-5.1-stable.20200204.iso/casper/vmlinuz
|
96
root/srv/ipxe/isourl.txt
Normal file
96
root/srv/ipxe/isourl.txt
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
# ZorinOS 15
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/15/Zorin-OS-15.2-Core-64-bit.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/15/Zorin-OS-15.2-Lite-64-bit.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/15/Zorin-OS-15.2-Lite-32-bit.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/15/Zorin-OS-15.2-Education-Lite-64-bit.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/15/Zorin-OS-15.2-Education-Lite-32-bit.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/15/Zorin-OS-15.2-Education-64-bit.iso
|
||||||
|
|
||||||
|
# ZorinOS 15 sha256
|
||||||
|
d670d51d500f9de3d6222446d52714ff13638f371a44ba3a860701020f3434ba *Zorin-OS-15.2-Core-64-bit.iso
|
||||||
|
4f4ef2a9c54e9b9b958a821968d7ae0ea6193dd99131bb160c057d352fc6bed6 *Zorin-OS-15.2-Lite-64-bit.iso
|
||||||
|
f68254c7c854c76be6a4a56c4710748d604046669d52adc4a25f27d668372455 *Zorin-OS-15.2-Lite-32-bit.iso
|
||||||
|
19614b2e656f988cb7f83396e0d937df9ab26c0473060b0b20cad10601f32bd4 *Zorin-OS-15.2-Education-64-bit.iso
|
||||||
|
df57ebe81e749f5373f1feb0ef05bff5d4545d26796bebef8a55f6faf2b66d52 *Zorin-OS-15.2-Education-Lite-64-bit.iso
|
||||||
|
65eba1560a97e305ff6631fa8df0313e2c06424b53e7bb0672041ce8a6a29ac0 *Zorin-OS-15.2-Education-64-bit.iso
|
||||||
|
|
||||||
|
|
||||||
|
# ZorinOS 12
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Core-32.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Core-64.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-32.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-64.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Education-32.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Education-64.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-Education-32.iso
|
||||||
|
https://netix.dl.sourceforge.net/project/zorin-os/12/Zorin-OS-12.4-Lite-Education-64.iso
|
||||||
|
|
||||||
|
# ZorinOS 12 sha256
|
||||||
|
3efb804f62ca61a7e33a524397577d7a40632c4d458c6b223f511850d4c04728 *Zorin-OS-12.4-Core-64.iso
|
||||||
|
80ff98f2906eb46b674e7e57439d1c9d1d87f6ec31c6c86a69f9a03f67aa1c90 *Zorin-OS-12.4-Core-32.iso
|
||||||
|
c7ee0dc5cb3de2fbd156f245a091ffe04737fa1533199d3d1be00535a5f452bd *Zorin-OS-12.4-Lite-64.iso
|
||||||
|
cb92d3a6dcd3700235c0543c081befcd17ef13f6a10bc88410a4d0f38da7e8c1 *Zorin-OS-12.4-Lite-32.iso
|
||||||
|
411f017daa363ffc09e19373ce4be254e53ba76befcac171b4345b07f919910e *Zorin-OS-12.4-Education-64.iso
|
||||||
|
07e09bfd50801cdb2b40f2c0df50d7d3ffdda13c3d58f542d8ea0fb3ca670167 *Zorin-OS-12.4-Education-32.iso
|
||||||
|
f278d63de1bd63b6c765337f74903887ed1e4d49bd5f22ffd0d3c7ed271dcfbb *Zorin-OS-12.4-Lite-Education-64.iso
|
||||||
|
f6627b1869ffbff192101dc988babcf58f3d0b3d3c8dc8c8747acb7b2c103473 *Zorin-OS-12.4-Lite-Education-32.iso
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# LinuxMint
|
||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-cinnamon-32bit.iso
|
||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-cinnamon-64bit.iso
|
||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-mate-32bit.iso
|
||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-mate-64bit.iso
|
||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-xfce-32bit.iso
|
||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-xfce-64bit.iso
|
||||||
|
|
||||||
|
# LinuxMint sha256
|
||||||
|
f1e0469b220b318151bf5c9515380705ddc5d4f59dd0f1af6e78fea599f05e4a *linuxmint-19.3-cinnamon-32bit.iso
|
||||||
|
7a9e54212433c8547edfd789ac933c91a9bde1a61196fa7977c5357a2c40292d *linuxmint-19.3-cinnamon-64bit.iso
|
||||||
|
9d302939a07205383231c2e41f3712b2cea7f1bff0470eed2d16f6c6ef0abc0a *linuxmint-19.3-mate-32bit.iso
|
||||||
|
610385bd480d4f906774d865761c429bccc522cf9dd62a5928045fac8fa24bf6 *linuxmint-19.3-mate-64bit.iso
|
||||||
|
9daafa1d804fd34e5cd42dab919bbe43b7e94eefa2669398dc73b43c6616d206 *linuxmint-19.3-xfce-32bit.iso
|
||||||
|
30c509d062da0f754765b5ecba861486d1f3d6138fdcec6f70f5feb88b72e4ef *linuxmint-19.3-xfce-64bit.iso
|
||||||
|
|
||||||
|
|
||||||
|
# Ubuntu 18.04
|
||||||
|
http://releases.ubuntu.com/18.04.4/ubuntu-18.04.4-desktop-amd64.iso
|
||||||
|
|
||||||
|
# Ubuntu 18.04 sha256
|
||||||
|
c0d025e560d54434a925b3707f8686a7f588c42a5fbc609b8ea2447f88847041 *ubuntu-18.04.4-desktop-amd64.iso
|
||||||
|
|
||||||
|
|
||||||
|
# Ubuntu 16.04
|
||||||
|
http://releases.ubuntu.com/16.04.6/ubuntu-16.04.6-desktop-amd64.iso
|
||||||
|
http://releases.ubuntu.com/16.04.6/ubuntu-16.04.6-desktop-i386.iso
|
||||||
|
|
||||||
|
# Ubuntu 16.04 sha256
|
||||||
|
e27d13d089a027601099b050fd6080785aae99c1a8eb7848774b8d44f1f679b9 *ubuntu-16.04.6-desktop-amd64.iso
|
||||||
|
eecb9c8160cdb08adf0c2f17daa1d403f5a55f14a856a5973f32f267eb9db039 *ubuntu-16.04.6-desktop-i386.iso
|
||||||
|
|
||||||
|
|
||||||
|
# Xubuntu 18.04
|
||||||
|
http://ftp.free.fr/mirrors/ftp.xubuntu.com/releases/18.04/release/xubuntu-18.04.4-desktop-i386.iso
|
||||||
|
http://ftp.free.fr/mirrors/ftp.xubuntu.com/releases/18.04/release/xubuntu-18.04.4-desktop-amd64.iso
|
||||||
|
|
||||||
|
# Xubuntu 18.04 sha256
|
||||||
|
68b4589faf3558a9c79a82dda7b1f49bee7382fc0ec34f6ddf15714665f4f8ce *xubuntu-18.04.4-desktop-amd64.iso
|
||||||
|
ed92c26e964104de6f6737d0401f86d6c9dea7a878443f4d3b6c4d2f11cce1a0 *xubuntu-18.04.4-desktop-i386.iso
|
||||||
|
|
||||||
|
|
||||||
|
# PopOS 18.04
|
||||||
|
https://pop-iso.sfo2.cdn.digitaloceanspaces.com/18.04/amd64/intel/59/pop-os_18.04_amd64_intel_59.iso
|
||||||
|
https://pop-iso.sfo2.cdn.digitaloceanspaces.com/18.04/amd64/nvidia/59/pop-os_18.04_amd64_nvidia_59.iso
|
||||||
|
|
||||||
|
# PopOS 18.04 sha256
|
||||||
|
0ae2c20327bc1059892c9efea71b21753782979431091fa3da60e4eaa036db1c *pop-os_18.04_amd64_intel_59.iso
|
||||||
|
1345ad02dd22bb35fecf5eaa28d56d5d1a62d281f7261615bfd32c7ba977af7e *pop-os_18.04_amd64_nvidia_59.iso
|
||||||
|
|
||||||
|
|
||||||
|
# ElementaryOS 5.1
|
||||||
|
https://ams3.dl.elementary.io/download/MTU4NTQ3ODk2Mg==/elementaryos-5.1-stable.20200204.iso
|
||||||
|
|
||||||
|
# ElementaryOS 5.1 sha256
|
||||||
|
190bbf738db0f15daa9ee4095bb64c307950082819081a969f8edd51f1faab07 *elementaryos-5.1-stable.20200204.iso
|
||||||
|
|
53
root/srv/ipxe/libreschool.asc
Normal file
53
root/srv/ipxe/libreschool.asc
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Comment: GnuPG v2.0.14 (GNU/Linux)
|
||||||
|
|
||||||
|
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
|
||||||
|
wPOjHf8uhxxfBBNeILYx
|
||||||
|
=qRGP
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
9
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/boot
Normal file
9
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/boot
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso Zorin-OS-15.2-Core-64-bit.iso ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ splash
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-32bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
f1e0469b220b318151bf5c9515380705ddc5d4f59dd0f1af6e78fea599f05e4a linuxmint-19.3-cinnamon-32bit.iso
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/iso_is_mounted
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-32bit.iso/.disk/info
|
2
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/iso_url
Normal file
2
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/iso_url
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-cinnamon-32bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-live/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-32bit.iso/casper/vmlinuz
|
12
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/boot
Normal file
12
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/boot
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso linuxmint-19.3-cinnamon-32bit.iso ||
|
||||||
|
set preseedurl ${base-url}/linuxmint-19.3-cinnamon-32bit-preseed/preseed.txt ||
|
||||||
|
|
||||||
|
set kernelparams locale=${locale} keyboard-configuration/modelcode=SKIP automatic-ubiquity url=${preseedurl} ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ -- ${kernelparams}
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-32bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
f1e0469b220b318151bf5c9515380705ddc5d4f59dd0f1af6e78fea599f05e4a linuxmint-19.3-cinnamon-32bit.iso
|
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-32bit.iso/.disk/info
|
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-cinnamon-32bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/preseed.txt
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/preseed.txt
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../default_preseed.txt
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-32bit-preseed/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-32bit.iso/casper/vmlinuz
|
9
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/boot
Normal file
9
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/boot
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso Zorin-OS-15.2-Core-64-bit.iso ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ splash
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-64bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
7a9e54212433c8547edfd789ac933c91a9bde1a61196fa7977c5357a2c40292d linuxmint-19.3-cinnamon-64bit.iso
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/iso_is_mounted
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-64bit.iso/.disk/info
|
2
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/iso_url
Normal file
2
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/iso_url
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-cinnamon-64bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-live/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-64bit.iso/casper/vmlinuz
|
12
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/boot
Normal file
12
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/boot
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso linuxmint-19.3-cinnamon-64bit.iso ||
|
||||||
|
set preseedurl ${base-url}/linuxmint-19.3-cinnamon-64bit-preseed/preseed.txt ||
|
||||||
|
|
||||||
|
set kernelparams locale=${locale} keyboard-configuration/modelcode=SKIP automatic-ubiquity url=${preseedurl} ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ -- ${kernelparams}
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-64bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
7a9e54212433c8547edfd789ac933c91a9bde1a61196fa7977c5357a2c40292d linuxmint-19.3-cinnamon-64bit.iso
|
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-64bit.iso/.disk/info
|
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-cinnamon-64bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/preseed.txt
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/preseed.txt
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../default_preseed.txt
|
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-cinnamon-64bit-preseed/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-cinnamon-64bit.iso/casper/vmlinuz
|
9
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/boot
Normal file
9
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/boot
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso Zorin-OS-15.2-Core-64-bit.iso ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ splash
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-32bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
9d302939a07205383231c2e41f3712b2cea7f1bff0470eed2d16f6c6ef0abc0a linuxmint-19.3-mate-32bit.iso
|
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/iso_is_mounted
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-32bit.iso/.disk/info
|
2
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/iso_url
Normal file
2
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/iso_url
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-mate-32bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-live/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-32bit.iso/casper/vmlinuz
|
12
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/boot
Normal file
12
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/boot
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso linuxmint-19.3-mate-32bit.iso ||
|
||||||
|
set preseedurl ${base-url}/linuxmint-19.3-mate-32bit-preseed/preseed.txt ||
|
||||||
|
|
||||||
|
set kernelparams locale=${locale} keyboard-configuration/modelcode=SKIP automatic-ubiquity url=${preseedurl} ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ -- ${kernelparams}
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-32bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
9d302939a07205383231c2e41f3712b2cea7f1bff0470eed2d16f6c6ef0abc0a linuxmint-19.3-mate-32bit.iso
|
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/iso_is_mounted
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-32bit.iso/.disk/info
|
2
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/iso_url
Normal file
2
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/iso_url
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-mate-32bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/preseed.txt
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/preseed.txt
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../default_preseed.txt
|
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-32bit-preseed/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-32bit.iso/casper/vmlinuz
|
9
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/boot
Normal file
9
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/boot
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso Zorin-OS-15.2-Core-64-bit.iso ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ splash
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-64bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
610385bd480d4f906774d865761c429bccc522cf9dd62a5928045fac8fa24bf6 linuxmint-19.3-mate-64bit.iso
|
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/iso_is_mounted
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-64bit.iso/.disk/info
|
2
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/iso_url
Normal file
2
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/iso_url
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-mate-64bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-live/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-64bit.iso/casper/vmlinuz
|
12
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/boot
Normal file
12
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/boot
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso linuxmint-19.3-mate-64bit.iso ||
|
||||||
|
set preseedurl ${base-url}/linuxmint-19.3-mate-64bit-preseed/preseed.txt ||
|
||||||
|
|
||||||
|
set kernelparams locale=${locale} keyboard-configuration/modelcode=SKIP automatic-ubiquity url=${preseedurl} ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ -- ${kernelparams}
|
||||||
|
initrd initrd
|
||||||
|
boot
|
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/initrd
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/initrd
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-64bit.iso/casper/initrd.lz
|
@ -0,0 +1 @@
|
|||||||
|
610385bd480d4f906774d865761c429bccc522cf9dd62a5928045fac8fa24bf6 linuxmint-19.3-mate-64bit.iso
|
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/iso_is_mounted
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/iso_is_mounted
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-64bit.iso/.disk/info
|
2
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/iso_url
Normal file
2
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/iso_url
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
https://mirrors.layeronline.com/linuxmint/stable/19.3/linuxmint-19.3-mate-64bit.iso
|
||||||
|
|
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/preseed.txt
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/preseed.txt
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../default_preseed.txt
|
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/vmlinuz
Symbolic link
1
root/srv/ipxe/linuxmint-19.3-mate-64bit-preseed/vmlinuz
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../mounts/linuxmint-19.3-mate-64bit.iso/casper/vmlinuz
|
9
root/srv/ipxe/linuxmint-19.3-xfce-32bit-live/boot
Normal file
9
root/srv/ipxe/linuxmint-19.3-xfce-32bit-live/boot
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!ipxe
|
||||||
|
|
||||||
|
chain --autofree ../common.ipxe.cfg ||
|
||||||
|
|
||||||
|
set iso Zorin-OS-15.2-Core-64-bit.iso ||
|
||||||
|
|
||||||
|
kernel vmlinuz ip=dhcp boot=casper netboot=nfs nfsroot=${dhcp-server}:/srv/mounts/${iso}/ splash
|
||||||
|
initrd initrd
|
||||||
|
boot
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user