mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-05 02:20:30 +00:00
arm-autonomy/xenguest-manager: fix xenguest initscript stop sequence
This patch fixes an issue where xenguest initscript stop sequence was not properly identifying the running guests. Issue-Id: SCM-2772 Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com> Change-Id: I3ad88e00f48fab07f99936a10c0d1deb7459e83b Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -66,7 +66,7 @@ case "$1" in
|
||||
stop)
|
||||
echo "Stopping xenguest"
|
||||
# update guest list
|
||||
guestlist=$(xenguest-manager status | grep Running | cut -d ":" -f1)
|
||||
guestlist=$(xenguest-manager status | grep Running | cut -d " " -f1)
|
||||
for f in ${guestlist}; do
|
||||
xenguest-manager shutdown "${f}" --kill
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user