tools/hotplug: Fix hostname setting in vif-nat
authorDiego Sueiro <diego.sueiro@arm.com>
Thu, 20 Aug 2020 10:58:20 +0000 (11:58 +0100)
committerWei Liu <wl@xen.org>
Wed, 9 Sep 2020 12:41:30 +0000 (12:41 +0000)
commit5499e0fc8082024bf7e2d0facd5c976e82105070
tree7025b78abd62c445bd992d519579cfa05f533347
parent3cccdae45242dab27198b8e150be0c85acd5d3c9
tools/hotplug: Fix hostname setting in vif-nat

Setting the hostname is failing because the "$XENBUS_PATH/domain"
doesn't exist anymore. To fix this we set it to dom$domid

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Wei Liu <wl@xen.org>
tools/hotplug/Linux/vif-nat