Fix go error in package_prerequisite step 60/4460/3
authorTodd Malsbary <todd.malsbary@intel.com>
Fri, 24 Sep 2021 22:25:29 +0000 (15:25 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Mon, 4 Oct 2021 23:51:16 +0000 (16:51 -0700)
commitfb8a0fe0cb2c32037ec16ad2b377aa63a42b114a
tree8cc8a1e91bd69a7ecf07c0c818004e7e12a638b6
parentd98881b7f45d17cc7deb0a772d09576ecce8cdc4
Fix go error in package_prerequisite step

The common.sh file is sourced before go is installed and it wants to
execute go env.  Defer the execution until after go is installed.

Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I53063c60eb6140eeb79b7567ac3585ca477ce3fd
deploy/metal3/scripts/01_metal3.sh
env/lib/common.sh