ia64/xen-unstable

changeset 2636:611881eac889

bitkeeper revision 1.1159.1.230 (416d965arlQEDDF33KaiMFJy_o-s4g)

Better random MAC addresses.
author kaf24@freefall.cl.cam.ac.uk
date Wed Oct 13 20:55:54 2004 +0000 (2004-10-13)
parents 0174982516f6
children fd5c7fbfbd1d
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Wed Oct 13 14:25:21 2004 +0000
     1.2 +++ b/tools/python/xen/xm/create.py	Wed Oct 13 20:55:54 2004 +0000
     1.3 @@ -264,6 +264,7 @@ def randomMAC():
     1.4  
     1.5      @return: MAC address string
     1.6      """
     1.7 +    random.seed()
     1.8      mac = [ 0xaa, 0x00, 0x00,
     1.9              random.randint(0x00, 0x7f),
    1.10              random.randint(0x00, 0xff),