X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=recipes%2Fproduct-name.sh;fp=recipes%2Fproduct-name.sh;h=7dcc7da13a4ffc89c5272889e4bdeff349fb673a;hb=5c02176d3e71b71f42cd16d98f94153366fe2468;hp=0000000000000000000000000000000000000000;hpb=acdf84dc391d25d9ea4a3885b92292cdc353511e;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