Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (13 sloc) 0.509 kB
#! /bin/sh
#
# Copyright (c) Citrix Systems 2008. All rights reserved.
#
# Host PV Kernel and Ramdisk limits
xenstore-write -s /mh/limits/pv-kernel-max-size $(expr 32 \* 1024 \* 1024)
xenstore-write -s /mh/limits/pv-ramdisk-max-size $(expr 128 \* 1024 \* 1024)
[ -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.