|
POST /hosts HTTP/1.1
|
|
Host: foreman-dev
|
|
Connection: keep-alive
|
|
Content-Length: 3923
|
|
Origin: https://foreman-dev
|
|
X-CSRF-Token: Ue1rPiuIT03IwARqbAs/53/jAHzkaRFaGY/lsV0CfXs/SGaHLoH13cQU7Kd0repWitFQNjahMr7thUfXDZAN1Q==
|
|
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
Accept: */*
|
|
X-Requested-With: XMLHttpRequest
|
|
Referer: https://foreman-dev/hosts/new
|
|
Accept-Encoding: gzip, deflate, br
|
|
Accept-Language: en-US,en;q=0.8
|
|
Cookie: _session_id=15d855b510f2ffc0eaf7cc91095f19bc; timezone=America%2FDetroit
|
|
|
|
Form Data
|
|
utf8:✓
|
|
authenticity_token:Ue1rPiuIT03IwARqbAs/53/jAHzkaRFaGY/lsV0CfXs/SGaHLoH13cQU7Kd0repWitFQNjahMr7thUfXDZAN1Q==
|
|
host[run_list][0][type]:role
|
|
host[run_list][0][name]:default
|
|
host[override_chef_attributes]:true
|
|
host[salt_module_ids][]:
|
|
host[name]:testbox
|
|
host[hostgroup_id]:
|
|
host[compute_resource_id]:1
|
|
host[compute_profile_id]:1
|
|
host[environment_id]:1
|
|
host[puppet_proxy_id]:
|
|
host[puppet_ca_proxy_id]:
|
|
host[chef_proxy_id]:
|
|
host[chef_environment_id]:
|
|
host[salt_environment_id]:
|
|
host[salt_proxy_id]:
|
|
host[puppetclass_ids][]:
|
|
host[managed]:true
|
|
host[progress_report_id]:3bbed239-aa62-454c-92b3-6bf5faaad2f1
|
|
host[type]:Host::Managed
|
|
host[interfaces_attributes][0][_destroy]:0
|
|
host[interfaces_attributes][0][type]:Nic::Managed
|
|
host[interfaces_attributes][0][mac]:
|
|
host[interfaces_attributes][0][identifier]:
|
|
host[interfaces_attributes][0][name]:testbox
|
|
host[interfaces_attributes][0][domain_id]:1
|
|
host[interfaces_attributes][0][subnet_id]:1
|
|
host[interfaces_attributes][0][ip]:10.77.14.6
|
|
host[interfaces_attributes][0][ip6]:
|
|
host[interfaces_attributes][0][managed]:0
|
|
host[interfaces_attributes][0][managed]:1
|
|
host[interfaces_attributes][0][primary]:0
|
|
host[interfaces_attributes][0][primary]:1
|
|
host[interfaces_attributes][0][provision]:0
|
|
host[interfaces_attributes][0][provision]:1
|
|
host[interfaces_attributes][0][virtual]:0
|
|
host[interfaces_attributes][0][tag]:
|
|
host[interfaces_attributes][0][attached_to]:
|
|
host[interfaces_attributes][0][compute_attributes][type]:VirtualVmxnet3
|
|
host[interfaces_attributes][0][compute_attributes][network]:network-1269
|
|
host[compute_attributes][cpus]:2
|
|
host[compute_attributes][corespersocket]:1
|
|
host[compute_attributes][memory_mb]:4096
|
|
host[compute_attributes][firmware]:bios
|
|
host[compute_attributes][cluster]:Comlink Cluster
|
|
host[compute_attributes][resource_pool]:Resources
|
|
host[compute_attributes][path]:/Datacenters/Comlink/vm/EngOps/ForemanDeploy-Dev
|
|
host[compute_attributes][guest_id]:otherGuest64
|
|
host[compute_attributes][scsi_controller_type]:ParaVirtualSCSIController
|
|
host[compute_attributes][hardware_version]:Default
|
|
host[compute_attributes][memoryHotAddEnabled]:0
|
|
host[compute_attributes][cpuHotAddEnabled]:0
|
|
host[compute_attributes][add_cdrom]:0
|
|
host[compute_attributes][start]:0
|
|
host[compute_attributes][start]:1
|
|
host[compute_attributes][annotation]:
|
|
host[compute_attributes][volumes_attributes][0][_delete]:
|
|
host[compute_attributes][volumes_attributes][0][datastore]:vnx-p1-10
|
|
host[compute_attributes][volumes_attributes][0][name]:Hard disk
|
|
host[compute_attributes][volumes_attributes][0][size_gb]:50
|
|
host[compute_attributes][volumes_attributes][0][thin]:false
|
|
host[compute_attributes][volumes_attributes][0][thin]:true
|
|
host[compute_attributes][volumes_attributes][0][eager_zero]:false
|
|
host[compute_attributes][volumes_attributes][0][mode]:persistent
|
|
capabilities:build image bootdisk
|
|
provider:Vmware
|
|
host[architecture_id]:1
|
|
host[operatingsystem_id]:5
|
|
host[provision_method]:build
|
|
host[build]:0
|
|
host[build]:1
|
|
host[medium_id]:2
|
|
host[ptable_id]:83
|
|
host[pxe_loader]:PXELinux BIOS
|
|
host[disk]:
|
|
host[root_pass]:password
|
|
host[is_owned_by]:3-Users
|
|
host[enabled]:0
|
|
host[enabled]:1
|
|
host[model_id]:
|
|
host[expired_on]:
|
|
host[comment]:
|
|
bare_metal_capabilities:build
|
|
host[overwrite]:false
|