aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-config/cluster-demo-network-config/files/cluster-demo-network-conf.service
blob: 1a6e2d8b7fc80f0d27eadc41c5ec2d5bb712ffda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Configure dedicated link for cluster demo network
After=sys-subsystem-net-devices-eth1.device
Requires=sys-subsystem-net-devices-eth1.device
Before=network.target

[Service]
# Note that this is done as opposed to using connman as configuring an
# interface on a second network separate from the rest of the interfaces
# is non-trivial in connman and needs further investigation.
ExecStart=/sbin/ifconfig eth1 192.168.20.93
Type=oneshot

[Install]
WantedBy=network.target