feat: allow github access in etc/hosts
This commit is contained in:
parent
2541c83de7
commit
bc85a9a77a
|
|
@ -34,10 +34,15 @@ git_config() {
|
||||||
}
|
}
|
||||||
|
|
||||||
grafana_config() {
|
grafana_config() {
|
||||||
sed -i "s/JOBNAME/${LXC_NAME}/" $LXC_ROOTFS_MOUNT/etc/promtail/config.yml
|
sed -i "s/JOBNAME/${LXC_NAME}/" $LXC_ROOTFS_MOUNT/etc/alloy/config.alloy
|
||||||
echo "Grafana setup completed"
|
echo "Grafana setup completed"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
host_config() {
|
||||||
|
sed -i "s/jtc/${LXC_NAME}/" $LXC_ROOTFS_MOUNT/etc/hosts
|
||||||
|
echo "Hostname setup completed"
|
||||||
|
}
|
||||||
|
|
||||||
import_sshkey
|
import_sshkey
|
||||||
|
|
||||||
ar_config
|
ar_config
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user