wido commented on a change in pull request #2794: vmware: reboot VR after mac 
updates
URL: https://github.com/apache/cloudstack/pull/2794#discussion_r208562108
 
 

 ##########
 File path: systemvm/debian/opt/cloud/bin/setup/router.sh
 ##########
 @@ -61,6 +61,10 @@ setup_router() {
     then
       log_it "Reloading udev for new udev NIC assignment"
       udevadm control --reload-rules && udevadm trigger
+      if [ "$HYPERVISOR" == "vmware" ]; then
+          sync
+          reboot
 
 Review comment:
   Since we are in systemd time now I would use:
   
   <pre>systemctl reboot</pre>
   
   But hey, that's a very, very, very minor thing.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to