diff --git a/elements/ironic-agent/install.d/60-ironic-agent-install b/elements/ironic-agent/install.d/60-ironic-agent-install index 94fcd1ef..b1f6d04e 100755 --- a/elements/ironic-agent/install.d/60-ironic-agent-install +++ b/elements/ironic-agent/install.d/60-ironic-agent-install @@ -13,6 +13,8 @@ Description=Ironic Python Agent\n [Service] ExecStart=/usr/bin/ironic-python-agent Restart=always -RestartSec=30s\n' > /usr/lib/systemd/system/ironic-python-agent.service +RestartSec=30s\n +[Install] +WantedBy=multi-user.target\n' > /usr/lib/systemd/system/ironic-python-agent.service sudo systemctl enable ironic-python-agent.service