nm.service fix: the node manager needs network.target, since it needs to contact...
authorThomas Dreibholz <dreibh@simula.no>
Tue, 22 Jul 2014 06:22:42 +0000 (08:22 +0200)
committerThomas Dreibholz <dreibh@simula.no>
Tue, 22 Jul 2014 06:22:42 +0000 (08:22 +0200)
nodemanager.spec
systemd/nm.service

index 51da084..ba4db62 100644 (file)
@@ -248,6 +248,9 @@ nodemanager-vs provides the vserver code for the PlanetLab Node Manager.
 
 ##############################
 %changelog
+* Tue Jul 22 2014 Thomas Dreibholz <dreibh@simula.no> - nodeimage-5.2-15
+- nm.service fix: the node manager needs network.target, since it needs to contact the PLC.
+
 * Wed Jul 16 2014 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - nodemanager-5.2-14
 - review packaging : one single spec file
 - review packaging : some cleanup towards debians although not complete yet
index 82659ef..f84fc82 100644 (file)
@@ -3,6 +3,8 @@ Description=PlanetLab NodeManager
 After=libvirtd.target
 Wants=lxc-sliceimage.service
 After=lxc-sliceimage.service
+Wants=network.target
+After=network.target
 
 [Service]
 EnvironmentFile=/etc/sysconfig/nodemanager