Commit Graph

121 Commits

Author SHA1 Message Date
Khue Doan
ad75900e9c Render Ignition JSON from Butane YAML 2021-06-13 13:08:55 +07:00
Khue Doan
f1dc32c009 Use template for Butane configs 2021-06-13 13:03:36 +07:00
Khue Doan
0157d25093 Change PXE server task and handler name 2021-06-13 11:49:09 +07:00
Khue Doan
a30adaec2a Set timezone 2021-06-13 11:33:53 +07:00
Khue Doan
bf518e969f Set hostname in ignition config 2021-06-13 11:28:37 +07:00
Khue Doan
99b02bbab6 Remove Docker role, CoreOS has Docker preinstalled 2021-06-13 11:07:56 +07:00
Khue Doan
754c0ac109 Use the same grubx64.efi path as the image 2021-06-13 03:27:15 +07:00
Khue Doan
6fae2f5413 Extract grubx64.efi from boot partition image 2021-06-13 03:17:15 +07:00
Khue Doan
d616abe807 Replace kickstart files with ignition 2021-06-13 02:39:47 +07:00
Khue Doan
77d87f0c33 Replace kickstart with ignition 2021-06-13 02:02:22 +07:00
Khue Doan
fe40b8b6df Make menu entry easier to read 2021-06-13 01:55:18 +07:00
Khue Doan
9a3461e05c Remove unnecessary first boot flag 2021-06-13 01:39:38 +07:00
Khue Doan
ac30775a1e Remove centralized CPU issue mitigation control config 2021-06-13 01:30:01 +07:00
Khue Doan
ac04f89a45 Disable cgroup v1 2021-06-13 01:29:24 +07:00
Khue Doan
301a247612 Reduce GRUB timeout 2021-06-13 01:22:07 +07:00
Khue Doan
7b5a238257 Update boot entry for CoreOS and ignition 2021-06-13 01:20:04 +07:00
Khue Doan
6dd12557e5 Switch to CoreOS image 2021-06-13 00:46:06 +07:00
Khue Doan
fb54a09ff1 Move ISO files to files/images instead of build/images 2021-06-12 18:07:24 +07:00
Khue Doan
3cc673d274 Improve kickstart config 2021-06-11 14:04:18 +07:00
Khue Doan
03deb76eb9 Add linters for metal and infra 2021-06-10 19:28:34 +07:00
Khue Doan
b0dfe1995a Cleaner README 2021-06-10 07:14:10 +07:00
Khue Doan
e051149311 Cleaner Ansible inventory 2021-06-09 19:23:28 +07:00
Khue Doan
8111fbe6ad Generate Terraform backend config automatically 2021-06-09 12:23:27 +07:00
Khue Doan
9b458435e0 Fix can't create tfstate container 2021-06-08 20:37:39 +07:00
Khue Doan
60f1ba4e41 Fix syntax 2021-06-08 19:24:21 +07:00
Khue Doan
9c43094d49 Change host fix extension 2021-06-08 19:09:47 +07:00
Khue Doan
c3ff4e59c6 Fix wrong task name 2021-06-08 19:00:56 +07:00
Khue Doan
01d52ecd09 Convert Ansible inventory from INI to YAML 2021-06-08 18:32:19 +07:00
Khue Doan
9338f01b05 Run tfstate role on first host 2021-06-08 18:29:09 +07:00
Khue Doan
b1c6620322 Revert "Remove etcd role"
This reverts commit 5e0036defd.
2021-06-08 18:06:15 +07:00
Khue Doan
409ed33353 Add handler to stop PXE server after completed 2021-06-06 13:49:54 +07:00
Khue Doan
9379e45b18 Start iSCSI service 2021-05-23 02:56:42 +07:00
Khue Doan
668580e8b1 Add todo for small root size 2021-05-23 02:08:13 +07:00
Khue Doan
2c6c2149cb Remove LXD 2021-05-21 02:54:48 +07:00
Khue Doan
c20166a69d Make sure the machines are shut down 2021-05-19 22:27:48 +07:00
Khue Doan
613a72ea65 Set subuid/subgid before starting LXD 2021-05-17 01:46:09 +07:00
Khue Doan
d577dfbaab Fix container failed to start
Error: Failed to run: /usr/bin/lxd forkstart tfstate /var/lib/lxd/containers /var/log/lxd/tfstate/lxc.conf
2021-05-17 01:16:07 +07:00
Khue Doan
fd6ab62a12 Add root device for tfstate container
Because default profile was removed
2021-05-17 01:09:38 +07:00
Khue Doan
8287fe696f Install LXD via dnf instead of snap
I hate snap
2021-05-16 23:59:42 +07:00
Khue Doan
ef79644dfa Swith to Fedora for bare metal nodes 2021-05-16 22:57:20 +07:00
Khue Doan
52828a363e Fix cluster member join on LXD 4.14
https://discuss.linuxcontainers.org/t/lxd-4-14-has-been-released/11008
2021-05-16 17:34:22 +07:00
Khue Doan
17745bbc20 Fix syntax 2021-05-16 16:05:05 +07:00
Khue Doan
56dd371fa8 Extract instead of mounting the OS ISO file
Avoid using privileged container or root permission on local machine
2021-05-16 15:10:23 +07:00
Khue Doan
aabb7b340c Specify Ansible SSH key without SSH agent
For the tools container
2021-05-16 13:26:32 +07:00
Khue Doan
54f4eb570d Use Ansible from package manager instead of pip 2021-05-16 13:14:15 +07:00
Khue Doan
53bd439431 Ensure idempotency for bare metal provisioning 2021-05-16 13:12:41 +07:00
Khue Doan
e6e5c177d6 Standardize TODOs 2021-05-01 22:51:55 +07:00
Khue Doan
c8331959bd Use var for macvlan parent 2021-05-01 16:17:19 +07:00
Khue Doan
74015da237 Increase LXD storage size 2021-04-26 01:21:22 +07:00
Khue Doan
f84fc1ae4e Set default username 2021-04-26 01:21:01 +07:00