<div dir="ltr">Its a virtual to virtual setup. All the guests are on the bridge connection that I have made so that they are on the same network. To answer your question I am not touching the VM host at all.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 31, 2016 at 9:27 PM, sean <span dir="ltr"><<a href="mailto:sean.a.ritzler@gmail.com" target="_blank">sean.a.ritzler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Are you running this on a virtual machine? If so, are you powering off its host machine?</p>
<div class="gmail_quote"><div><div class="h5">On May 31, 2016 9:22 PM, "Nadim Hoque" <<a href="mailto:nadimhoque@gmail.com" target="_blank">nadimhoque@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Fellow Pluggers,</div><div><br></div>So I am trying to perform a remote poweroff command and for some reason the host powers itself off. I am able to run another command such as yum just fine but when I try to execute the poweroff command the host turns off as well. Below is the script that I am running<div><br></div><div><br clear="all"><div><br></div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">#!/bin/bash
</span><br>
<br>for server in $(cat serverlist.txt); do
<br> ssh $server.localdomain 'yum update -y && poweroff'</span></div><div><span style="font-family:monospace">done</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Also note that the serverlist.txt does not contain the host itself. Thanks for the help.</span></div><div><span style="font-family:monospace"><br></span></div><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Nadim Hoque<br><br></div></div></div></div>
</div></div>
<br></div></div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Nadim Hoque<br><br></div></div></div></div>
</div>