feat: Mise à jour
This commit is contained in:
1 parent
6ebedbeca3
commit
91045fa232
19 files changed
+337
-27
No files matched your search
@@ -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 ]
|
||||
|
||||
Reference in new issue
Block a user