Skip to content

Commit

Permalink
define prefix of MAC at the beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Sep 23, 2016
1 parent ec503e3 commit 8b54c52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-utils/fai-kvm
Expand Up @@ -19,7 +19,7 @@ cdimage=/files/scratch/fai-cd.iso # default name for CD image
diskdir=/tmp # directory where the disk images will be created, a RAM disk is recommended
usernet=0
newdisk=0

macprefix=52:54:00:11:23
# - - - - - - - - - - - - - - - - - - - - - - - - -
boot_disk() {

Expand Down Expand Up @@ -111,7 +111,7 @@ diskfile=$diskdir/faitest-disk-$user
# xA:xx:xx:xx:xx:xx
# xE:xx:xx:xx:xx:xx

mac=52:54:00:11:23:$hex
mac=$macprefix:$hex

if [ $usernet = 1 ]; then
net=""
Expand Down

0 comments on commit 8b54c52

Please sign in to comment.