19 changed files with 112 additions and 11 deletions
@ -0,0 +1,3 @@ |
|||
[Service] |
|||
# If the config file has been injected into the qcow2 image in /var, move it to the right place |
|||
ExecStartPre=/bin/bash -Eeuo pipefail -c 'if [ -f /var/lib/flightctl/config.yaml -a ! -f /etc/flightctl/config.yaml ]; then mv /var/lib/flightctl/config.yaml /etc/flightctl/config.yaml; restorecon -RF /etc/flightctl/config.yaml; fi' |
|||
@ -0,0 +1,4 @@ |
|||
- if: |
|||
- path: /etc/containers/systemd/configs/nextcloud-config.env |
|||
op: [created, updated, removed] |
|||
run: systemctl restart nextcloud.target |
|||
@ -0,0 +1,16 @@ |
|||
#!/usr/sbin/nft -f |
|||
|
|||
destroy table ip libvirt-nat |
|||
|
|||
table ip libvirt-nat { |
|||
chain Pre-Routing { |
|||
type nat hook prerouting priority dstnat |
|||
policy accept |
|||
|
|||
# Log incoming packets |
|||
iifname != lo iifname != virbr0 log prefix "PREROUTING: " |
|||
|
|||
# Redirect port 80 to the Nextcloud VM |
|||
ip daddr 192.168.2.0/24 iifname != "virbr0" tcp dport { 80 } counter dnat to 192.168.122.2 |
|||
} |
|||
} |
|||
@ -0,0 +1 @@ |
|||
include "/etc/nftables/libvirt.nft" |
|||
@ -0,0 +1,4 @@ |
|||
- if: |
|||
- path: /etc/containers/systemd/configs/odoo-config.env |
|||
op: [created, updated, removed] |
|||
run: systemctl restart odoo.target |
|||
@ -0,0 +1,6 @@ |
|||
|
|||
|
|||
HEADS UP !!! |
|||
|
|||
This system is not configured ! |
|||
|
|||
@ -0,0 +1,16 @@ |
|||
## |
|||
## Nextcloud Configuration Environment Variables |
|||
## |
|||
|
|||
# Nextcloud domain configuration |
|||
NEXTCLOUD_TRUSTED_DOMAINS=adlink-dlap-4001.itix.fr |
|||
OVERWRITEHOST=adlink-dlap-4001.itix.fr |
|||
OVERWRITEPROTOCOL=http |
|||
OVERWRITECLIURL=http://adlink-dlap-4001.itix.fr |
|||
|
|||
# Nextcloud admin credentials |
|||
NEXTCLOUD_ADMIN_USER=admin |
|||
NEXTCLOUD_ADMIN_PASSWORD=nextcloud |
|||
|
|||
# Nextcloud server info token |
|||
NEXTCLOUD_SERVERINFO_TOKEN=S3cr3t! |
|||
@ -0,0 +1,6 @@ |
|||
|
|||
|
|||
HEADS UP !!! |
|||
|
|||
This system is not configured ! |
|||
|
|||
@ -0,0 +1,4 @@ |
|||
DATABASE=redhat |
|||
ADMIN_PASSWORD=R3dH4t! |
|||
RIBBON_COLOR=rgba(255,0,0,.6) |
|||
RIBBON_NAME=Paris Wagram<br/>({db_name}) |
|||
@ -0,0 +1,4 @@ |
|||
DATABASE=redhat |
|||
ADMIN_PASSWORD=R3dH4t! |
|||
RIBBON_COLOR=rgba(0,0,255,.6) |
|||
RIBBON_NAME=Villeneuve d'Ascq<br/>({db_name}) |
|||
Loading…
Reference in new issue