Skip to content

Commit

Permalink
*: Remove support for niftycloud OEM
Browse files Browse the repository at this point in the history
  • Loading branch information
krnowak committed Jul 5, 2023
1 parent ad0360e commit 00ac758
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 363 deletions.
116 changes: 0 additions & 116 deletions build_library/niftycloud_ovf.sh

This file was deleted.

28 changes: 0 additions & 28 deletions build_library/vm_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ VALID_IMG_TYPES=(
gce
hyperv
iso
niftycloud
openstack
openstack_mini
packet
Expand Down Expand Up @@ -52,7 +51,6 @@ VALID_OEM_PACKAGES=(
exoscale
gce
hyperv
niftycloud
packet
qemu
rackspace
Expand Down Expand Up @@ -291,12 +289,6 @@ IMG_azure_OEM_SYSEXT=oem-azure
IMG_hyperv_DISK_FORMAT=vhd
IMG_hyperv_OEM_PACKAGE=oem-hyperv

## niftycloud
IMG_niftycloud_DISK_FORMAT=vmdk_stream
IMG_niftycloud_DISK_LAYOUT=vm
IMG_niftycloud_CONF_FORMAT=niftycloud
IMG_niftycloud_OEM_PACKAGE=oem-niftycloud

## cloudsigma
IMG_cloudsigma_DISK_FORMAT=qcow2
IMG_cloudsigma_OEM_PACKAGE=oem-cloudsigma
Expand Down Expand Up @@ -1114,26 +1106,6 @@ _write_gce_conf() {
VM_GENERATED_FILES=( "${tar_path}" )
}

_write_niftycloud_conf() {
local vm_mem="${1:-$(_get_vm_opt MEM)}"
local src_name=$(basename "$VM_SRC_IMG")
local dst_name=$(basename "$VM_DST_IMG")
local ovf="$(_dst_dir)/$(_src_to_dst_name "${src_name}" ".ovf")"

"${BUILD_LIBRARY_DIR}/niftycloud_ovf.sh" \
--vm_name "$VM_NAME" \
--disk_vmdk "$VM_DST_IMG" \
--memory_size "$vm_mem" \
--output_ovf "$ovf"

local ovf_name=$(basename "${ovf}")
cat > "${VM_README}" <<EOF
Import ${ovf_name} and ${dst_name} to NIFTY Cloud.
EOF

VM_GENERATED_FILES+=( "$ovf" )
}

_write_ovf_vmware_conf() {
local vm_mem="${1:-$(_get_vm_opt MEM)}"
local vm_cpus="$(_get_vm_opt CPUS)"
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 00ac758

Please sign in to comment.