Add nfs CT

This commit is contained in:
2022-03-11 17:59:46 +01:00
parent 4c1f72bf83
commit 5f18234561
4 changed files with 32 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
String[] ImgVariantList = ['minimal', 'default', 'jenkinsbuilder', 'imgbuilder', 'jenkins', 'mysql' , 'pihole' , 'collabora' , 'jellyfin' , 'domoticz' , 'omadaV3' , 'docker' , 'smb' , 'tvheadend' , 'x2go' , 'aptcacherng' ]
String[] ImgVariantList = ['minimal', 'default', 'jenkinsbuilder', 'imgbuilder', 'jenkins', 'mysql' , 'pihole' , 'collabora' , 'jellyfin' , 'domoticz' , 'omadaV3' , 'docker' , 'smb' , 'tvheadend' , 'x2go' , 'aptcacherng' , 'nfs' ]
pipeline {
agent { label 'LXCBuilder' }

View File

@@ -987,6 +987,13 @@ files:
variants:
- elkarbackupDEB
#FileForNFS
- path: /opt/Setup
generator: copy
source: CT-Files/nfs
variants:
- nfs
packages:
manager: apt
update: true
@@ -1010,6 +1017,7 @@ packages:
- x2go
- aptcacherng
- elkarbackupDEB
- nfs
#Https Repo pkgs
- packages:
@@ -1028,6 +1036,7 @@ packages:
- aptcacherng
- mysql
- domoticz
- nfs
#Minimal pkgs
- packages:
@@ -1185,6 +1194,7 @@ packages:
action: install
variants:
- smb
- nfs
#Samba pkgs
- packages:
@@ -1265,6 +1275,12 @@ packages:
variants:
- elkarbackupDEB
#NFS pkgs
- packages:
- nfs-kernel-server
action: install
variants:
- nfs
repositories:
- name: sources.list
@@ -1314,6 +1330,7 @@ packages:
deb [signed-by=/usr/share/keyrings/webmin-archive-keyring.gpg arch=amd64] http://download.webmin.com/download/repository sarge contrib
variants:
- smb
- nfs
#WSDD (Web Services Dynamic Discovery) Repo
- name: wsdd.list
@@ -1395,6 +1412,7 @@ actions:
- x2go
- aptcacherng
- elkarbackupDEB
- nfs
- trigger: post-packages
action: |-
@@ -1416,6 +1434,7 @@ actions:
chown -R root:bin /etc/webmin/authentic-theme
variants:
- smb
- nfs
#Jenkins Repo key
- trigger: post-unpack
@@ -1470,6 +1489,7 @@ actions:
curl --retry 7 --retry-delay 5 -L -s http://www.webmin.com/jcameron-key.asc | gpg --dearmor > /usr/share/keyrings/webmin-archive-keyring.gpg
variants:
- smb
- nfs
#Wsdd Repo key
- trigger: post-unpack

View File

@@ -0,0 +1,4 @@
#!/bin/bash
systemctl enable nfs-kernel-server.service
echo "login_message=NFS Server on" >/etc/webmin/authentic-theme/custom-lang
echo "root: backup-config webmin acl init passwd mount fsdump proc cron package-updates software system-status useradmin exports shell filemin status updown" > /etc/webmin/webmin.acl

View File

@@ -33,6 +33,7 @@ This can be done on a Minimal debian CT (make sure to enable nesting) on the new
| tvheadend | Debian | Tvheadend server |
| x2go | Debian | Remote xfce desktop accessable via X2go |
| aptcacherng | Debian | Caching server for linux packages |
| nfs | Debian | NFS server |
| gitea | Alpine | Gitea server |
| nginx | Alpine | Nginx server for reverse-proxy use |
| ddns | Alpine | DDNS client configured for OVH/OVH-Cloud |
@@ -220,6 +221,12 @@ lxc.mount.entry: /dev/ttyACM-Zwave dev/ttyACM-Zwave none bind,optional,create=fi
## aptcacherng
* Available on http://`<ip>`:80
## nfs
**This container should be set up as privileged**
* Enable feature on CT: 'NFS'
* Webmin available on http://`<ip/hostname>`
* NFS server Available
## mailbackup
* Info html page available on http://`<ip>`:80
* Add user/storage space by running `ash /opt/AddMailBox.sh`