feat: Mise à jour

This commit is contained in:
xavier committed 2024-03-13 23:14:26 +01:00
1 parent 6ebedbeca3
commit 91045fa232
19 files changed
+337 -27

No files matched your search

+6 -22
View File
@@ -13,30 +13,14 @@ config:
packages:
- unzip
# Users
users:
- default
- name: gitea
groups: sudo
shell: /bin/bash
sudo: ['ALL=(ALL) NOPASSWD:ALL']
# Configure second network interface
write_files:
- path: "/etc/netplan/eth1.yaml"
permissions: "0755"
content: |
network:
version: 2
ethernets:
eth1:
dhcp4: true
# users:
# - default
# - name: gitea
# groups: sudo
# shell: /bin/bash
# sudo: ['ALL=(ALL) NOPASSWD:ALL']
runcmd:
# Apply network config
- [ netplan, generate ]
- [ netplan, apply ]
# Install gitea
- [ snap, install, gitea ]