Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
auricom committed May 12, 2024
1 parent 4e728bc commit 7d95b2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rpm-ostree install \

rpm-ostree install "https://github.com/getsops/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION#v}.x86_64.rpm"

if [[ -x "/usr/sbin/zpool" ]]; then
if [ -x "/usr/sbin/zpool" ]; then
rpm-ostree install \
nfs-utils \
samba
Expand Down
13 changes: 3 additions & 10 deletions scripts/post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
set -ouex pipefail

# pre-enabled services
# systemctl enable cockpit.service
# systemctl enable node-exporter.service
# systemctl enable podman.socket
# systemctl enable podman-exporter.service
# systemctl enable cockpit.service
# systemctl enable node-exporter.service
# systemctl enable podman.socket
# systemctl enable podman-exporter.service
systemctl enable podman.socket

if [[ -x "/usr/sbin/zpool" ]]; then
# ZFS
Expand All @@ -21,11 +14,11 @@ if [[ -x "/usr/sbin/zpool" ]]; then
# firewall-cmd --permanent --zone=FedoraServer --add-service=nfs
# firewall-cmd --permanent --zone=FedoraServer --add-service=rpc-bind
# firewall-cmd --permanent --zone=FedoraServer --add-service=mountd
# systemctl enable nfs-server.service
systemctl enable nfs-server.service

# Samba
# firewall-cmd --permanent --zone=FedoraServer --add-service=samba
# systemctl enable smb.service
systemctl enable smb.service

# Firewall / SELinux
# restorecon -R /mnt/vol1
Expand Down

0 comments on commit 7d95b2f

Please sign in to comment.