diff options
Diffstat (limited to 'nova/utils.py')
-rw-r--r-- | nova/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/utils.py b/nova/utils.py index 26637a489..47c51aff5 100644 --- a/nova/utils.py +++ b/nova/utils.py @@ -1018,7 +1018,7 @@ def generate_mac_address(): # properly: 0xfa. # Discussion: https://bugs.launchpad.net/nova/+bug/921838 mac = [0xfa, 0x16, 0x3e, - random.randint(0x00, 0x7f), + random.randint(0x00, 0xff), random.randint(0x00, 0xff), random.randint(0x00, 0xff)] return ':'.join(map(lambda x: "%02x" % x, mac)) |