Ubuntu VM Image Preparation - VMware

Hi Team,

Are there any specific steps for prepare the VM image template for Ubuntu 18.04/20.04 on VMware Platform apart from mentioned steps in below link.
https://docs.morpheusdata.com/en/latest/integration_guides/Clouds/vmware/vmware.html

Also if we want to add custom option for Device name while adding the additional disk to an instance through service catalog. As the additional disk gets replaced by the pre-existing volumes on the image. Attached is the screenshot where the “data-” was added but got replaced by the existing volume. Is there any specific variable/parameter we can specify in the custom catalog ?

Adding @ncelebic He may be able to add some insight.

The first thing I see is that the screenshot is showing RHEL in AWS.

For VMWare, what or how many disks do you have defined in your preseed? Does it work if you add those disks through the normal instance creation? For our in-house images, I simply have a 5GB disk for installation, and I use a single partition. I created an instance from that with two additional disks and I see them like so:

ncelebic@nc-vmware-ubuntu-3070:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            449M     0  449M   0% /dev
tmpfs            96M  2.1M   94M   3% /run
/dev/sda1       4.9G  2.8G  1.9G  61% /
tmpfs           477M     0  477M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           477M     0  477M   0% /sys/fs/cgroup
tmpfs            96M     0   96M   0% /run/user/1001
ncelebic@nc-vmware-ubuntu-3070:~$ lsblk
NAME   MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda      8:0    0   5G  0 disk
`-sda1   8:1    0   5G  0 part /
sdb      8:16   0   5G  0 disk
sdc      8:32   0   2G  0 disk
sr0     11:0    1  60K  0 rom

In Morpheus, the disks appeared like so:

@ncelebic : For me, the platform is AWS. Trying to create Custom options for service catalog but no custom option is working properly.
Example: I have created custom options for Network list, service plan, Additional Disks but it always takes the default once which we use in “Configuration Wizard”. I am using these custom options like below. (Sample Catalog for AWS). When we add the Instance to order in service catalog, it does not give any error but after deployment it takes the values which we used in “Configuration Wizard”.

In the attached screenshot you can see that I select Network & Service Plan for this instance but it deploys the VM, it will replace these values with default ones.

Is there a different way to get the custom input for Service Plans & Network or if there is any sample reference for service catalog creation for AWS.

{
“group”: {
“id”: “<%=customOptions.grouplist%>”
},
“cloud”: {
“id”: “<%=customOptions.cloudlist%>”
},
“config”: {
“createUser”: true,
“isEC2”: “false”,
“isVpcSelectable”: true,
“noAgent”: false,
“availabilityId”: null,
“securityId”: null,
“publicIpType”: “subnet”,
“instanceProfile”: null,
“kmsKeyId”: null,
“customOptions”: {
“uni:billing:application”: “cmpx”,
“role”: “app”,
“uni:operations:backup”: “none”,
“uni:operations:systempriority”: “p3”,
“uni:billing:faculty”: “art”,
“uni:operations:security”: “cnf”,
“uni:billing:support”: “gold server usyd”,
“uni:billing:program”: “rsh”,
“uni:operations:expirydate”: “31/12/23”,
“uni:billing:environment”: “dev”
},
“resourcePoolId”: 877,
“poolProviderType”: null
},
“type”: “rhel8.3aws”,
“policyArray”: [
{
“name”: “InstanceNaming_cmpx”,
“type”: “naming”,
“enabled”: true,
“eachUser”: false,
“allAccounts”: true,
“config”: {
“namingType”: “user”,
“namingPattern”: “${groupCode}${instance.instanceContext[0]}${customOptions.role[0]}${sequence.toString().padLeft(5,‘0’)}”,
“namingConflict”: “on”
}
}
],
“instance”: {
“userGroup”: {
“id”: “”
}
},
“name”: “${groupCode}${instance.instanceContext[0]}${customOptions.role[0]}${sequence.toString().padLeft(5,‘0’)}”,
“environment”: “<%=customOptions.environment%>”,
“volumes”: [
{
“rootVolume”: true,
“name”: “root”,
“maxStorage”: 0,
“volumeCustomizable”: true,
“readonlyName”: false,
“size”: 40,
“storageType”: 24,
“maxIOPS”: null,
“vId”: 8320
},
{
“rootVolume”: false,
“name”: “data-1”,
“maxStorage”: 0,
“minStorage”: 0,
“volumeCustomizable”: true,
“readonlyName”: false,
“size”: “<%=customOptions.addDisk1%>”,
“storageType”: “<%=customOptions.stype%>”,
“maxIOPS”: null
},
{
“rootVolume”: false,
“name”: “data-2”,
“maxStorage”: 0,
“minStorage”: 0,
“volumeCustomizable”: true,
“readonlyName”: false,
“size”: “<%=customOptions.addDisk2%>”,
“storageType”: “<%=customOptions.stype%>”,
“maxIOPS”: null
},
{
“rootVolume”: false,
“name”: “data-3”,
“maxStorage”: 0,
“minStorage”: 0,
“volumeCustomizable”: true,
“readonlyName”: false,
“size”: “<%=customOptions.addDisk3%>”,
“storageType”: “<%=customOptions.stype%>”,
“maxIOPS”: 100
},
{
“rootVolume”: false,
“name”: “data-4”,
“maxStorage”: 0,
“minStorage”: 0,
“volumeCustomizable”: true,
“readonlyName”: false,
“size”: “<%=customOptions.addDisk4%>”,
“storageType”: “<%=customOptions.stype%>”,
“maxIOPS”: null
},
{
“rootVolume”: false,
“name”: “data-5”,
“maxStorage”: 0,
“minStorage”: 0,
“volumeCustomizable”: true,
“readonlyName”: false,
“size”: “<%=customOptions.addDisk5%>”,
“storageType”: “<%=customOptions.stype%>”,
“maxIOPS”: null
}
],
“defaultExpandAdvanced”: false,
“hostName”: “${groupCode}${instance.instanceContext[0]}${customOptions.role[0]}${sequence.toString().padLeft(5,‘0’)}”,
“layout”: {
“id”: 1125,
“code”: “b24c3612-1cbe-43e5-89e3-9445f8f77fb7”
},
“networkInterfaces”: [
{
“primaryInterface”: true,
“network”: {
“idName”: “<%=customOptions.networklist%>”,
“hasPool”: false
},
“showNetworkPoolLabel”: false,
“showNetworkDhcpLabel”: true
}
],
“plan”: {
“code”: “<%=customOptions.serviceplan%>”
},
“version”: “8.3”,
“templateParameter”: null,
“provisionType”: {
“id”: 7,
“name”: “Amazon”,
“description”: null,
“code”: “amazon”,
“aclEnabled”: false,
“multiTenant”: false,
“managed”: true,
“hostNetwork”: true,
“customSupported”: true,
“mapPorts”: false,
“exportServer”: false,
“viewSet”: “amazonCustom”,
“serverType”: “ami”,
“hostType”: “vm”,
“addVolumes”: true,
“hasVolumes”: true,
“hasDatastore”: false,
“hasNetworks”: true,
“maxNetworks”: 0,
“customizeVolume”: true,
“rootDiskCustomizable”: true,
“rootDiskSizeKnown”: true,
“rootDiskResizable”: true,
“lvmSupported”: true,
“hostDiskMode”: “lvm”,
“minDisk”: 1,
“maxDisk”: null,
“resizeCopiesVolumes”: true,
“supportsAutoDatastore”: false,
“hasZonePools”: true,
“hasSecurityGroups”: true,
“hasParameters”: false,
“canEnforceTags”: true,
“disableRootDatastore”: false,
“hasSnapshots”: false,
“hasSpecTemplates”: false,
“hasPreview”: false,
“hasState”: false,
“hasRefresh”: false,
“zonePoolRequired”: true,
“planRequiresPool”: false,
“hasFolders”: false,
“optionTypes”: [
{
“id”: 159,
“name”: “skip agent install”,
“description”: null,
“code”: “provisionType.general.noAgent”,
“fieldName”: “noAgent”,
“fieldLabel”: “Skip Agent Install”,
“fieldCode”: “gomorpheus.optiontype.SkipAgentInstall”,
“fieldContext”: “config”,
“fieldGroup”: “Advanced Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “Skipping Agent installation will result in a lack of logging and guest operating system statistics. Automation scripts may also be adversely affected.”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “checkbox”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 4,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 296,
“name”: “amazon cloud type”,
“description”: null,
“code”: “provisionType.amazon.isEC2”,
“fieldName”: “isEC2”,
“fieldLabel”: “Amazon Cloud Type”,
“fieldCode”: “gomorpheus.optiontype.AmazonCloudType”,
“fieldContext”: “config”,
“fieldGroup”: “Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “false”,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “hidden”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 100,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 295,
“name”: “amazon zone”,
“description”: null,
“code”: “provisionType.amazon.availabilityId”,
“fieldName”: “availabilityId”,
“fieldLabel”: “Amazon Zone”,
“fieldCode”: “gomorpheus.optiontype.AmazonZone”,
“fieldContext”: “config”,
“fieldGroup”: “Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: “amazonZones”,
“optionSourceType”: “amazon”,
“optionList”: null,
“type”: “select”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 100,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: “provisionType.amazon.isEC2:true”,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 298,
“name”: “security group”,
“description”: null,
“code”: “provisionType.amazon.securityId”,
“fieldName”: “securityId”,
“fieldLabel”: “Security Group”,
“fieldCode”: “gomorpheus.optiontype.SecurityGroup”,
“fieldContext”: “config”,
“fieldGroup”: “Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: “amazonSecurityGroup”,
“optionSourceType”: “amazon”,
“optionList”: null,
“type”: “select”,
“advanced”: false,
“required”: true,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 102,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 299,
“name”: “public ip”,
“description”: null,
“code”: “provisionType.amazon.publicIpType”,
“fieldName”: “publicIpType”,
“fieldLabel”: “Public IP”,
“fieldCode”: “gomorpheus.optiontype.PublicIp”,
“fieldContext”: “config”,
“fieldGroup”: “Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “subnet”,
“optionSource”: “amazonPublicIpTypes”,
“optionSourceType”: “amazon”,
“optionList”: null,
“type”: “select”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 103,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: true,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 300,
“name”: “iam profile”,
“description”: null,
“code”: “provisionType.amazon.instanceProfile”,
“fieldName”: “instanceProfile”,
“fieldLabel”: “IAM Profile”,
“fieldCode”: “gomorpheus.optiontype.IamProfile”,
“fieldContext”: “config”,
“fieldGroup”: “Advanced Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: “amazonInstanceProfiles”,
“optionSourceType”: “amazon”,
“optionList”: null,
“type”: “select”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 106,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 301,
“name”: “KMS Key ID”,
“description”: null,
“code”: “provisionType.amazon.kmsKeyId”,
“fieldName”: “kmsKeyId”,
“fieldLabel”: “KMS Key ID”,
“fieldCode”: “gomorpheus.optiontype.kmsKeyId”,
“fieldContext”: “config”,
“fieldGroup”: “Advanced Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “text”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 107,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
}
],
“customOptionTypes”: [
{
“id”: 309,
“name”: “server type”,
“description”: null,
“code”: “provisionType.amazon.custom.containerType.serverType”,
“fieldName”: “serverType”,
“fieldLabel”: “Server Type”,
“fieldCode”: “gomorpheus.optiontype.ServerType”,
“fieldContext”: “containerType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “vm”,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “hidden”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 8,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 308,
“name”: “log type code”,
“description”: null,
“code”: “provisionType.amazon.custom.containerType.logTypeCode”,
“fieldName”: “logTypeCode”,
“fieldLabel”: “Log Type Code”,
“fieldCode”: “gomorpheus.optiontype.LogTypeCode”,
“fieldContext”: “containerType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “amazon”,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “hidden”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 7,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 302,
“name”: “virtual image”,
“description”: null,
“code”: “provisionType.amazon.custom.containerType.virtualImageId”,
“fieldName”: “virtualImageId”,
“fieldLabel”: “AMI Image”,
“fieldCode”: “gomorpheus.optiontype.AmiImage”,
“fieldContext”: “containerType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: “amazonAccountImage”,
“optionSourceType”: “amazon”,
“optionList”: null,
“type”: “select”,
“advanced”: false,
“required”: true,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 1,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 307,
“name”: “stat type code”,
“description”: null,
“code”: “provisionType.amazon.custom.containerType.statTypeCode”,
“fieldName”: “statTypeCode”,
“fieldLabel”: “Stat Type Code”,
“fieldCode”: “gomorpheus.optiontype.StatTypeCode”,
“fieldContext”: “containerType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “amazon”,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “hidden”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 6,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 310,
“name”: “layout description”,
“description”: null,
“code”: “provisionType.amazon.custom.instanceTypeLayout.description”,
“fieldName”: “description”,
“fieldLabel”: “Layout Description”,
“fieldCode”: “gomorpheus.optiontype.LayoutDescription”,
“fieldContext”: “instanceTypeLayout”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “This will provision a single vm”,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “hidden”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 9,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 306,
“name”: “backup type”,
“description”: null,
“code”: “provisionType.amazon.custom.instanceType.viewSet”,
“fieldName”: “viewSet”,
“fieldLabel”: “View Set”,
“fieldCode”: “gomorpheus.optiontype.ViewSet”,
“fieldContext”: “instanceType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “amazonCustom”,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “hidden”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 5,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 305,
“name”: “backup type”,
“description”: null,
“code”: “provisionType.amazon.custom.instanceType.backupType”,
“fieldName”: “backupType”,
“fieldLabel”: “Backup Type”,
“fieldCode”: “gomorpheus.optiontype.BackupType”,
“fieldContext”: “instanceType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: “amazonSnapshot”,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “hidden”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 4,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 303,
“name”: “mount logs”,
“description”: null,
“code”: “provisionType.amazon.custom.containerType.mountLogs”,
“fieldName”: “mountLogs”,
“fieldLabel”: “Log Folder”,
“fieldCode”: “gomorpheus.optiontype.LogFolder”,
“fieldContext”: “containerType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “text”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 2,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
},
{
“id”: 304,
“name”: “mount data”,
“description”: null,
“code”: “provisionType.amazon.custom.containerType.mountData”,
“fieldName”: “mountData”,
“fieldLabel”: “Deploy Folder”,
“fieldCode”: “gomorpheus.optiontype.DeployFolder”,
“fieldContext”: “containerType”,
“fieldGroup”: “Amazon Options”,
“fieldClass”: null,
“fieldAddOn”: null,
“fieldComponent”: null,
“fieldInput”: null,
“placeHolder”: null,
“verifyPattern”: null,
“helpBlock”: “(Optional) If using deployment services, this mount point will be replaced with the contents of said deployments.”,
“helpBlockFieldCode”: null,
“defaultValue”: null,
“optionSource”: null,
“optionSourceType”: null,
“optionList”: null,
“type”: “text”,
“advanced”: false,
“required”: false,
“exportMeta”: false,
“editable”: false,
“creatable”: true,
“config”: {},
“displayOrder”: 3,
“wrapperClass”: null,
“enabled”: true,
“noBlank”: false,
“dependsOnCode”: null,
“visibleOnCode”: null,
“requireOnCode”: null,
“contextualDefault”: false,
“displayValueOnDetails”: false,
“showOnCreate”: true,
“showOnEdit”: true
}
],
“networkTypes”: ,
“storageTypes”: [
{
“id”: 26,
“code”: “amazon-sc1”,
“name”: “sc1”,
“displayOrder”: 4,
“defaultType”: false,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: 22,
“code”: “amazon-io1”,
“name”: “io1”,
“displayOrder”: 2,
“defaultType”: false,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: 27,
“code”: “amazon-standard”,
“name”: “standard”,
“displayOrder”: 5,
“defaultType”: false,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: 25,
“code”: “amazon-st1”,
“name”: “st1”,
“displayOrder”: 3,
“defaultType”: false,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: 23,
“code”: “amazon-gp2”,
“name”: “gp2”,
“displayOrder”: 0,
“defaultType”: true,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: “<%=customOptions.stype%>”,
“code”: “amazon-gp3”,
“name”: “gp3”,
“displayOrder”: 1,
“defaultType”: true,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
}
],
“rootStorageTypes”: [
{
“id”: 22,
“code”: “amazon-io1”,
“name”: “io1”,
“displayOrder”: 2,
“defaultType”: false,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: 27,
“code”: “amazon-standard”,
“name”: “standard”,
“displayOrder”: 5,
“defaultType”: false,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: 23,
“code”: “amazon-gp2”,
“name”: “gp2”,
“displayOrder”: 0,
“defaultType”: true,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
},
{
“id”: 24,
“code”: “amazon-gp3”,
“name”: “gp3”,
“displayOrder”: 1,
“defaultType”: true,
“customLabel”: true,
“customSize”: true,
“customSizeOptions”: null
}
],
“controllerTypes”:
},
“securityGroups”: [
{
“id”: “sg-07bd71077546c4648”
}
],
“executionId”: “230fd75f-8a15-44ea-863e-42a906753d05”,
“backup”: {
“createBackup”: false,
“jobAction”: “new”,
“jobRetentionCount”: 3,
“veeamManagedServer”: “”
},
“loadBalancer”: ,
“hideLock”: true,
“hasNetworks”: true,
“displayNetworks”: [
{
“name”: “Private Subnet apse2a (subnet-ec80e28b)”,
“ipMode”: “Default”,
“usePool”: false,
“dhcpServer”: true
}
],
“showScale”: false,
“hasPreview”: false,
“volumesDisplay”: [
{
“storage”: “gp3”,
“name”: “root”,
“controller”: null,
“datastore”: null,
“displayOrder”: null,
“size”: 40,
“mountPoint”: null
},
{
“storage”: “gp3”,
“name”: “data-1”,
“controller”: null,
“datastore”: null,
“displayOrder”: null,
“size”: 40,
“mountPoint”: null
},
{
“storage”: “gp3”,
“name”: “data-2”,
“controller”: null,
“datastore”: null,
“displayOrder”: null,
“size”: 40,
“mountPoint”: null
},
{
“storage”: “gp3”,
“name”: “data-3”,
“controller”: null,
“datastore”: null,
“displayOrder”: null,
“size”: 40,
“mountPoint”: null
},
{
“storage”: “gp3”,
“name”: “data-4”,
“controller”: null,
“datastore”: null,
“displayOrder”: null,
“size”: 40,
“mountPoint”: null
},
{
“storage”: “gp3”,
“name”: “data-5”,
“controller”: null,
“datastore”: null,
“displayOrder”: null,
“size”: 40,
“mountPoint”: null
}
]
}


@ncelebic : Correction: Got the Network & Service Plan working now.

Issue is with Custom Disk addition where if we mention 5 Drives in the catalog then we have to add 5 drives, it does not access less than 5 drives.

The 5 drives are not optional in your configuration. The only things you have defined as options in your config are the size and types of those drives.

This seems to be the same topic as Creating an Instance Catalog item that allows users to add additional disks - #6 by rboyd I’m not sure I can provide more of a solution than what @rboyd has detailed in that post.