Configure eth1 and set hostname

This commit is contained in:
Marco Nenciarini
2022-02-05 18:59:14 +01:00
parent 7bbd42d1e6
commit 63eb166eb9
3 changed files with 18 additions and 1 deletions

View File

@@ -11,5 +11,21 @@
]
}
]
},
"storage": {
"files": [
{
"path": "/etc/hostname",
"mode": 420,
"overwrite": true,
"contents": { "source": "data:,${name}" }
},
{
"path": "/etc/sysconfig/network/ifcfg-eth1",
"mode": 420,
"overwrite": true,
"contents": { "source": "data:,BOOTPROTO%3D%27dhcp%27%0ASTARTMODE%3D%27auto%27" }
}
]
}
}