package group
This commit is contained in:
parent
26e94d7e94
commit
a777fea150
13
README.md
13
README.md
@ -28,10 +28,21 @@ docker run --rm \
|
|||||||
registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Components
|
||||||
|
This ISO creation script has 3 main components:
|
||||||
|
- the *anaconda* folder: this stores all the customizations for the installer, basically only images;
|
||||||
|
- the *root* folder: this contains all the custom files that are applied over the NethServer source ISO;
|
||||||
|
- the *packages.list* file: this contains all the URLs of the packages required for this customization;
|
||||||
|
|
||||||
|
## How to modify the ISO
|
||||||
|
The isolinux background image (the one that's displayed when booted from DVD or non-UEFI USB) is stored in root/isolinux/splash.jpg.
|
||||||
|
The other images (used in the installer) are in anaconda/usr/share/anaconda/pixmaps.
|
||||||
|
To add a package, you have to include the URL in the *package.list* file, then you have to tell the installer to use it: in the kickstart files (the ones in the /ks folder of the ISO), in the "%packages" section, we specify the packages and the package groups that are going to be installed; if you think that the package is needed in a specific installation type, then modify the kickstart file. Otherwise, if the package should be installed in all installation types, you have to modify the package-group: edit root/libreschool/comps.xml and add the package name here; the "libreschool-iso" package group is always installed.
|
||||||
|
|
||||||
## TODO:
|
## TODO:
|
||||||
|
|
||||||
- [ ] FIX images
|
- [ ] FIX images
|
||||||
- [ ] package group
|
- [x] package group
|
||||||
- [x] Rename network interface
|
- [x] Rename network interface
|
||||||
- [ ] Enforce the minimum required network interfaces (anaconda)
|
- [ ] Enforce the minimum required network interfaces (anaconda)
|
||||||
- [ ] PXE + Preseed (external package)
|
- [ ] PXE + Preseed (external package)
|
||||||
|
@ -79,21 +79,7 @@ fi
|
|||||||
%packages
|
%packages
|
||||||
@nethserver-iso
|
@nethserver-iso
|
||||||
@core
|
@core
|
||||||
nethserver-backup-data
|
@libreschool-iso
|
||||||
nethserver-backup-config
|
|
||||||
nethserver-restore-data
|
|
||||||
nethserver-firewall-base-ui
|
|
||||||
nethserver-samba
|
|
||||||
nethserver-samba-audit
|
|
||||||
nethserver-cockpit
|
|
||||||
nethserver-avahi
|
|
||||||
nethserver-cups
|
|
||||||
nethserver-squid
|
|
||||||
nethserver-lightsquid
|
|
||||||
nethserver-squidclamav
|
|
||||||
nethserver-squidguard
|
|
||||||
libreschool-release
|
|
||||||
nethserver-usercsvimport
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
||||||
|
@ -7,21 +7,7 @@
|
|||||||
%packages
|
%packages
|
||||||
@nethserver-iso
|
@nethserver-iso
|
||||||
@core
|
@core
|
||||||
nethserver-backup-data
|
@libreschool-iso
|
||||||
nethserver-backup-config
|
|
||||||
nethserver-restore-data
|
|
||||||
nethserver-firewall-base-ui
|
|
||||||
nethserver-samba
|
|
||||||
nethserver-samba-audit
|
|
||||||
nethserver-cockpit
|
|
||||||
nethserver-avahi
|
|
||||||
nethserver-cups
|
|
||||||
nethserver-squid
|
|
||||||
nethserver-lightsquid
|
|
||||||
nethserver-squidclamav
|
|
||||||
nethserver-squidguard
|
|
||||||
libreschool-release
|
|
||||||
nethserver-usercsvimport
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
||||||
|
@ -92,21 +92,7 @@ fi
|
|||||||
%packages
|
%packages
|
||||||
@nethserver-iso
|
@nethserver-iso
|
||||||
@core
|
@core
|
||||||
nethserver-backup-data
|
@libreschool-iso
|
||||||
nethserver-backup-config
|
|
||||||
nethserver-restore-data
|
|
||||||
nethserver-firewall-base-ui
|
|
||||||
nethserver-samba
|
|
||||||
nethserver-samba-audit
|
|
||||||
nethserver-cockpit
|
|
||||||
nethserver-avahi
|
|
||||||
nethserver-cups
|
|
||||||
nethserver-squid
|
|
||||||
nethserver-lightsquid
|
|
||||||
nethserver-squidclamav
|
|
||||||
nethserver-squidguard
|
|
||||||
libreschool-release
|
|
||||||
nethserver-usercsvimport
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
||||||
|
@ -92,22 +92,8 @@ fi
|
|||||||
%packages
|
%packages
|
||||||
@nethserver-iso
|
@nethserver-iso
|
||||||
@core
|
@core
|
||||||
|
@libreschool-iso
|
||||||
nethserver-lang-it
|
nethserver-lang-it
|
||||||
nethserver-backup-data
|
|
||||||
nethserver-backup-config
|
|
||||||
nethserver-restore-data
|
|
||||||
nethserver-firewall-base-ui
|
|
||||||
nethserver-samba
|
|
||||||
nethserver-samba-audit
|
|
||||||
nethserver-cockpit
|
|
||||||
nethserver-avahi
|
|
||||||
nethserver-cups
|
|
||||||
nethserver-squid
|
|
||||||
nethserver-lightsquid
|
|
||||||
nethserver-squidclamav
|
|
||||||
nethserver-squidguard
|
|
||||||
libreschool-release
|
|
||||||
nethserver-usercsvimport
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
repo --name=nethserver --baseurl=file:///run/install/repo/extras
|
||||||
|
29
root/libreschool/comps.xml
Normal file
29
root/libreschool/comps.xml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd">
|
||||||
|
<comps>
|
||||||
|
<group>
|
||||||
|
<id>libreschool-iso</id>
|
||||||
|
<default>false</default>
|
||||||
|
<uservisible>false</uservisible>
|
||||||
|
<display_order>1024</display_order>
|
||||||
|
<name>LibreSchool ISO</name>
|
||||||
|
<description>LibreSchool ISO group</description>
|
||||||
|
<packagelist>
|
||||||
|
<packagereq type='mandatory'>nethserver-backup-data</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-backup-config</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-restore-data</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-firewall-base-ui</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-samba</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-samba-audit</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-cockpit</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-avahi</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-cups</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-squid</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-lightsquid</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-squidclamav</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-squidguard</packagereq>
|
||||||
|
<packagereq type='mandatory'>libreschool-release</packagereq>
|
||||||
|
<packagereq type='mandatory'>nethserver-usercsvimport</packagereq>
|
||||||
|
</packagelist>
|
||||||
|
</group>
|
||||||
|
</comps>
|
Loading…
x
Reference in New Issue
Block a user