X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=recipes%2Fproduct-name.sh;fp=recipes%2Fproduct-name.sh;h=7dcc7da13a4ffc89c5272889e4bdeff349fb673a;hb=49b2ae2e69e1a273b4d4a8746a872ec00b91c86f;hp=0000000000000000000000000000000000000000;hpb=b1ca8b5fbb263fd945f21d0ccff99f40a59d562b;p=libguestfs.git diff --git a/recipes/product-name.sh b/recipes/product-name.sh new file mode 100755 index 0000000..7dcc7da --- /dev/null +++ b/recipes/product-name.sh @@ -0,0 +1,6 @@ +#!/bin/sh - + +eval "$(guestfish --ro -a "$1" --i --listen)" +root="$(guestfish --remote inspect-get-roots)" +guestfish --remote inspect-get-product-name "$root" +guestfish --remote exit