lab: noautologin on the commissioning cmdline; note on persisting BMC addresses in netplan
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee3a1a4787
commit
1f2178e99a
3 files changed
+6
-3
No files matched your search
@@ -10,6 +10,9 @@ install -m 0644 pve-vbmc@.service pve-vbmc-addrs.service /etc/systemd/system/
|
||||
chgrp pve-vbmc /etc/pve-vbmc/config.json && chmod 0640 /etc/pve-vbmc/config.json
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now pve-vbmc-addrs.service
|
||||
# NOTE: on netplan/systemd-networkd hosts a later reconfigure flushes addresses added by the
|
||||
# service (seen in the lab: the BMCs stopped answering). Also list the BMC addresses under the
|
||||
# pxenet interface in /etc/netplan/*.yaml so they survive.
|
||||
for v in $(python3 -c 'import json;print(" ".join(str(b["vmid"]) for b in json.load(open("/etc/pve-vbmc/config.json"))["bmcs"]))'); do
|
||||
systemctl enable --now "pve-vbmc@$v.service"
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user