Compare commits
2 commits
eb4aaa3b57
...
6dc4981ddd
Author | SHA1 | Date | |
---|---|---|---|
6dc4981ddd | |||
786cedd53d |
3 changed files with 8 additions and 160 deletions
|
@ -1,158 +1 @@
|
|||
# The format of this file is documented in the dhcpd.leases(5) manual page.
|
||||
# This lease file was written by isc-dhcp-4.4.3-P1
|
||||
|
||||
# authoring-byte-order entry is generated, DO NOT DELETE
|
||||
authoring-byte-order little-endian;
|
||||
|
||||
server-duid "\000\001\000\001-\261\365a\002B\300\250\014\002";
|
||||
|
||||
lease 192.168.12.20 {
|
||||
starts 3 2024/04/17 02:53:08;
|
||||
ends 3 2024/04/17 03:03:08;
|
||||
cltt 3 2024/04/17 02:53:08;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
uid "\001\274$\0215>\257";
|
||||
client-hostname "rander-standardpc";
|
||||
}
|
||||
lease 192.168.12.21 {
|
||||
starts 3 2024/04/17 02:55:15;
|
||||
ends 3 2024/04/17 03:05:15;
|
||||
cltt 3 2024/04/17 02:55:15;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
set vendor-class-identifier = "Linux ipconfig";
|
||||
}
|
||||
lease 192.168.12.20 {
|
||||
starts 3 2024/04/17 02:58:38;
|
||||
ends 3 2024/04/17 03:08:38;
|
||||
cltt 3 2024/04/17 02:58:38;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
uid "\001\274$\0215>\257";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
client-hostname "manjaro";
|
||||
}
|
||||
lease 192.168.12.20 {
|
||||
starts 3 2024/04/17 03:03:38;
|
||||
ends 3 2024/04/17 03:13:38;
|
||||
cltt 3 2024/04/17 03:03:38;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
uid "\001\274$\0215>\257";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
client-hostname "manjaro";
|
||||
}
|
||||
lease 192.168.12.21 {
|
||||
starts 3 2024/04/17 02:55:15;
|
||||
ends 3 2024/04/17 03:05:15;
|
||||
tstp 3 2024/04/17 03:05:15;
|
||||
cltt 3 2024/04/17 02:55:15;
|
||||
binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
set vendor-class-identifier = "Linux ipconfig";
|
||||
}
|
||||
lease 192.168.12.22 {
|
||||
starts 3 2024/04/17 03:07:42;
|
||||
ends 3 2024/04/17 03:17:42;
|
||||
cltt 3 2024/04/17 03:07:42;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:d8:b7:a7;
|
||||
uid "\001\274$\021\330\267\247";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
}
|
||||
lease 192.168.12.23 {
|
||||
starts 3 2024/04/17 03:08:09;
|
||||
ends 3 2024/04/17 03:18:09;
|
||||
cltt 3 2024/04/17 03:08:09;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:d8:b7:a7;
|
||||
client-hostname "(none)";
|
||||
}
|
||||
lease 192.168.12.20 {
|
||||
starts 3 2024/04/17 03:08:38;
|
||||
ends 3 2024/04/17 03:18:38;
|
||||
cltt 3 2024/04/17 03:08:38;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
uid "\001\274$\0215>\257";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
client-hostname "manjaro";
|
||||
}
|
||||
lease 192.168.12.22 {
|
||||
starts 3 2024/04/17 03:09:55;
|
||||
ends 3 2024/04/17 03:19:55;
|
||||
cltt 3 2024/04/17 03:09:55;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:d8:b7:a7;
|
||||
uid "\001\274$\021\330\267\247";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
client-hostname "ubuntu";
|
||||
}
|
||||
lease 192.168.12.23 {
|
||||
starts 3 2024/04/17 03:12:43;
|
||||
ends 3 2024/04/17 03:22:43;
|
||||
cltt 3 2024/04/17 03:12:43;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:d8:b7:a7;
|
||||
set vendor-class-identifier = "Linux ipconfig";
|
||||
}
|
||||
lease 192.168.12.20 {
|
||||
starts 3 2024/04/17 03:13:38;
|
||||
ends 3 2024/04/17 03:23:38;
|
||||
cltt 3 2024/04/17 03:13:38;
|
||||
binding state active;
|
||||
next binding state free;
|
||||
rewind binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
uid "\001\274$\0215>\257";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
client-hostname "manjaro";
|
||||
}
|
||||
lease 192.168.12.22 {
|
||||
starts 3 2024/04/17 03:09:55;
|
||||
ends 3 2024/04/17 03:19:55;
|
||||
tstp 3 2024/04/17 03:19:55;
|
||||
cltt 3 2024/04/17 03:12:09;
|
||||
binding state free;
|
||||
hardware ethernet bc:24:11:d8:b7:a7;
|
||||
uid "\001\274$\021\330\267\247";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
}
|
||||
lease 192.168.12.23 {
|
||||
starts 3 2024/04/17 03:12:43;
|
||||
ends 3 2024/04/17 03:22:43;
|
||||
tstp 3 2024/04/17 03:22:43;
|
||||
cltt 3 2024/04/17 03:12:43;
|
||||
binding state free;
|
||||
hardware ethernet bc:24:11:d8:b7:a7;
|
||||
set vendor-class-identifier = "Linux ipconfig";
|
||||
}
|
||||
lease 192.168.12.20 {
|
||||
starts 3 2024/04/17 03:13:38;
|
||||
ends 3 2024/04/17 03:23:38;
|
||||
tstp 3 2024/04/17 03:23:38;
|
||||
cltt 3 2024/04/17 03:13:38;
|
||||
binding state free;
|
||||
hardware ethernet bc:24:11:35:3e:af;
|
||||
uid "\001\274$\0215>\257";
|
||||
set vendor-class-identifier = "PXEClient:Arch:00000:UNDI:002001";
|
||||
}
|
||||
|
|
|
@ -26,6 +26,12 @@ docker_verify_minimum_env() {
|
|||
fi
|
||||
}
|
||||
|
||||
networking_misc() {
|
||||
mkdir /run/sshd && chmod 0755 /run/sshd && /usr/sbin/sshd &
|
||||
systemctl start networking && systemctl start isc-dhcp-server &
|
||||
}
|
||||
|
||||
|
||||
docker_setup_pve() {
|
||||
#Set pve user
|
||||
echo "root:$ADMIN_PASSWORD"|chpasswd
|
||||
|
@ -52,8 +58,7 @@ if [ -n "$ENABLE_PVE_FIREWALL" -a "$ENABLE_PVE_FIREWALL" == "no" ]; then
|
|||
systemctl mask pve-firewall.service
|
||||
fi
|
||||
|
||||
mkdir /run/sshd && chmod 0755 /run/sshd && /usr/sbin/sshd &
|
||||
systemctl start networking && systemctl start isc-dhcp-server &
|
||||
sleep 10 && networking_misc &
|
||||
echo "Running PVE..."
|
||||
exec "$@"
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
socat -dd TCP-LISTEN:8006,fork,reuseaddr,keepalive,keepidle=60,keepintvl=60 TCP:192.168.12.2:8006,keepalive,keepidle=60,keepintvl=60 &
|
||||
socat -dd TCP-LISTEN:8006,fork,reuseaddr,keepalive,keepidle=60,keepintvl=60 TCP:192.168.12.2:8006,keepalive,keepidle=60,keepintvl=60 &
|
||||
socat -dd TCP-LISTEN:2222,fork,reuseaddr,keepalive,keepidle=60,keepintvl=60 TCP:192.168.12.2:22,keepalive,keepidle=60,keepintvl=60 &
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue