mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
remove installing open-vm-tools process from build-vmware-image
This commit is contained in:
parent
95a28fe8b6
commit
b1e716208f
@ -14,9 +14,9 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
# File: build-vmware-ovf
|
||||
# File: build-vmware-image
|
||||
# Purpose:
|
||||
# Build VyOS OVF for VMware.
|
||||
# Build VyOS OVA and OVF for VMware.
|
||||
|
||||
if [ ! $(which vmdk-convert) ]; then
|
||||
echo "Your system doesn't have vmdk-convert. Please install it from https://github.com/vmware/open-vmdk."
|
||||
@ -33,16 +33,12 @@ else
|
||||
fi
|
||||
|
||||
export PACKER_BUILD_DIR=packer_build
|
||||
export PACKER_LOG_PATH=${PACKER_BUILD_DIR}/build_vmware_ovf.log
|
||||
export PACKER_LOG=1
|
||||
|
||||
mkdir -p ${PACKER_BUILD_DIR}
|
||||
DST_DIR=${PACKER_BUILD_DIR}/vmware
|
||||
|
||||
packer build -only=vmware-image scripts/packer.json
|
||||
mkdir -p ${DST_DIR}
|
||||
|
||||
# Convert raw image to VMDK
|
||||
source_image=${DST_DIR}/vyos_vmware_image.img
|
||||
source_image=${PACKER_BUILD_DIR}/qemu/vyos_qemu_image.img
|
||||
tmp_vmdk=${DST_DIR}/tmp.vmdk
|
||||
vmdk=${DST_DIR}/vyos_vmware_image.vmdk
|
||||
ovf=${DST_DIR}/vyos_vmware_image.ovf
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
"<enter><wait10><wait10>",
|
||||
"reboot<enter><wait5>",
|
||||
"Yes<enter><wait3m>",
|
||||
"vyos<enter><wait>",
|
||||
"vyos<enter><wait5>",
|
||||
"vyos<enter><wait10>",
|
||||
"configure<enter><wait5>",
|
||||
"set interface ethernet eth0 address dhcp<enter><wait5>",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user