You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
9. Place an SSH public key in `$COREOS_IPXE_SERVER_DATA_DIR/sshkeys/coreos.pub`
67
+
10. Place a cloud-config in `$COREOS_IPXE_SERVER_DATA_DIR/configs/development.yml`:
68
+
```yaml
69
+
#cloud-config
70
+
71
+
ssh_authorized_keys:
72
+
- ssh-rsa AAAAB3Nza...
73
+
coreos:
74
+
etcd:
75
+
addr: $private_ipv4:4001
76
+
peer-addr: $private_ipv4:7001
77
+
units:
78
+
- name: etcd.service
79
+
command: start
80
+
- name: fleet.service
81
+
command: start
82
+
- name: docker.socket
83
+
command: start
84
+
oem:
85
+
id: coreos
86
+
name: CoreOS Custom
87
+
version-id: 310.1.0
88
+
home-url: https://coreos.com
89
+
```
90
+
11. Place a profile in `$COREOS_IPXE_SERVER_DATA_DIR/profiles/development.json`:
91
+
```json
92
+
{
93
+
"cloud_config": "development",
94
+
"rootfstype": "btrfs",
95
+
"sshkey": "coreos",
96
+
"version": "310.1.0"
97
+
}
98
+
```
99
+
100
+
### Process
101
+
41
102
1. Create a VM using VMWare Workstation or VMWare fusion (ensure it has 1 disk and 1 network adapter, with hardware versiom <= 10).
42
103
2. Do not install an operating system (leave the disk completely empty).
43
104
3. Close VMWare, and use [ovftool](https://my.vmware.com/web/vmware/details?downloadGroup=OVFTOOL400&productId=353) to convert the virtual machine to OVF format (`ovftool myserver.vmx ovf/myserver.ovf`).
44
105
4. Upload the `.ovf`, `.vmdk`, and `.mf` files to CloudControl and import it as a client image (ensure that "Import without Guest OS Customization" is checked, see [here](https://docs.mcp-services.net/display/CCD/How+to+Import+an+OVF+Package+as+a+Client+Image) for details).
45
-
5. Run `mcp2-dhcp-server` on the same machine as your TFTP / iPXE server.
46
-
6. Deploy a new server from your client image, and start it. Network boot should proceed automatically.
47
-
106
+
5. On your DHCP / iPXE server, run `coreos-ipxe-server`.
107
+
6. On your DHCP / iPXE server, run `mcp2-dhcp-server`.
108
+
7. Deploy a new server from your client image, and start it. Network boot should proceed automatically.
0 commit comments