Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.316 kB
#! /bin/sh
#
# Copyright (c) Citrix Systems 2008. All rights reserved.
#
[ -z "$1" ] && exit 0
mgmt_mac=$(ip link show $1 | awk '/link.ether/ {print $2}')
[ -z "$mgmt_mac" ] && exit 0
xenstore-write -s /mh/boot-time/management-mac-address $mgmt_mac
xenstore-chmod -s /mh/boot-time/management-mac-address r0
exit 0
Jump to Line
Something went wrong with that request. Please try again.