Skip to content

Commit

Permalink
Rename eth0 configuration file to enp0s1
Browse files Browse the repository at this point in the history
  • Loading branch information
andrisaar committed Jul 10, 2023
1 parent ee755ac commit 02806f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Match]
Name=eth0
Name=enp0s1

[Network]
Address=10.0.2.10/24
4 changes: 2 additions & 2 deletions oak_containers_system_image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ RUN apt-get --yes update \

# Prepare network
RUN systemctl enable systemd-networkd
COPY 10-eth0.network /etc/systemd/network
RUN chmod 644 /etc/systemd/network/10-eth0.network
COPY 10-enp0s1.network /etc/systemd/network
RUN chmod 644 /etc/systemd/network/10-enp0s1.network

# Configure systemd to run docker at startup
RUN systemctl enable docker
Expand Down

0 comments on commit 02806f6

Please sign in to comment.