2018-05-19 23:13:03 +00:00
|
|
|
# 1. Starte "remaster"
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 1.1 Lade Grundfunctionen [-> #functions]
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 1.2 Überprüfe ...
|
2018-05-19 22:43:38 +00:00
|
|
|
* auf Updates
|
|
|
|
* auf Rechte
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 1.3 Lade Richtige Einstellungen [-> #config]
|
2018-05-19 22:43:38 +00:00
|
|
|
* Lade /etc/remaster/<Conf>
|
|
|
|
* Überprüfe Conf. (Proj Exist; Mods Exist; ...)
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 1.4 Lade Proj-Func [-> #projects]
|
2018-05-19 22:43:38 +00:00
|
|
|
* Überlade nach Abhängigkeit
|
|
|
|
* (z.B. ubuntu.16.04 -> ubuntu -> debian)
|
|
|
|
* Prüfe Conf. (Proj Conform)
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 1.5 Lade $n Mods (optional) [-> #mods]
|
2018-05-19 22:43:38 +00:00
|
|
|
* Überprüfen
|
|
|
|
* Spechern in MOD_LST
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
# 2. Init Chroot
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 2.1 Dateien Entpacken
|
2018-05-19 22:43:38 +00:00
|
|
|
* ISO
|
|
|
|
* Squashfs
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 2.2 Config für Chroot (chroot_initial)
|
2018-05-19 22:43:38 +00:00
|
|
|
* (lxc-conf / tmpdir)
|
|
|
|
* Netzwerk
|
2018-04-26 17:46:17 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 2.3 Starte Chroot
|
2018-05-19 22:43:38 +00:00
|
|
|
* (lxc-start / mount ...)
|
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
# 3. Modivikationen
|
2018-05-19 22:43:38 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 3.1 Netzwerk
|
2018-05-19 22:43:38 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 3.2 Proj-Spez.
|
2018-05-19 22:43:38 +00:00
|
|
|
* (z.B. Desinfect: conky_info)
|
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 3.3 Packet Mgr
|
2018-05-19 22:43:38 +00:00
|
|
|
* Updates
|
|
|
|
* Install
|
|
|
|
* Delete
|
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 3.4 Weitere in $MOD_LST
|
2018-05-19 22:43:38 +00:00
|
|
|
* z.B. xrdp
|
|
|
|
* z.B. default pw
|
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
# 4. Finish
|
2018-05-19 22:43:38 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 4.1 Aufreumen Live-Sys
|
2018-05-19 22:43:38 +00:00
|
|
|
* tmpfiles
|
|
|
|
* Packet Mgr
|
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 4.2 Stop chroot
|
2018-05-19 22:43:38 +00:00
|
|
|
* Umount
|
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 4.3. Gen ISO/PXE
|
2018-05-19 22:43:38 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
## 4.4. Del Chroot
|
2018-05-19 22:43:38 +00:00
|
|
|
|
2018-05-19 23:13:03 +00:00
|
|
|
# 5. Send Log
|
2018-05-19 22:43:38 +00:00
|
|
|
|
|
|
|
----
|
|
|
|
|
2018-05-19 23:29:25 +00:00
|
|
|
## lxc
|
|
|
|
|
2018-05-19 22:43:38 +00:00
|
|
|
-> chroot_sh exec lxc-attach
|
2018-05-19 23:29:25 +00:00
|
|
|
|
2018-05-19 22:43:38 +00:00
|
|
|
-> chroot_dir = container name
|
2018-05-19 23:29:25 +00:00
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
## PXE
|
|
|
|
|
|
|
|
-> Install
|
|
|
|
* DHCP Relay
|
|
|
|
* NFS-Server
|
|
|
|
* TFTP-Server
|
|
|
|
* [Samba]
|
|
|
|
|
|
|
|
-> Setup
|
|
|
|
* (use <Lib>/proj/<proj> func)
|
|
|
|
* SMB/NFS LiveSys export
|
|
|
|
* TFTP (Boot Menue; Boot Loader; Kernel&Initrd)
|
|
|
|
|
|
|
|
-> Deinstall
|
|
|
|
* RM TFTP-Root
|
|
|
|
* RM SMB/NFS LiveSys export
|
|
|
|
* del DHCP Relay conf
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
## Jobs
|
2018-05-19 23:34:10 +00:00
|
|
|
* Read Confs -> get time interfall I
|
|
|
|
* Exec remaster <Conf> for I
|
2018-05-19 23:29:25 +00:00
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
## Web
|
|
|
|
|
|
|
|
show/edit #Configs
|
|
|
|
|
|
|
|
show (+live) #Logs
|
|
|
|
|
|
|
|
start/stop/plan #Jobs
|
|
|
|
|
|
|
|
start/stop/edit #PXE menue
|
|
|
|
* default
|
|
|
|
* all / single / none
|
|
|
|
* live view new clients
|