File tree Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Arch In the Cloud
44This is how you create a VM template for cloud providers using:
55* disk-image-scripts
66* arch-install-scripts
7- * cloud-init + cloud-utils
7+ * cloud-init + cloud-utils + cloud-init-extra
88
991 - Create a Disk Image
1010-----------------------
@@ -25,32 +25,17 @@ Install Arch to the image with pacstrap from arch-install-scripts:
2525
2626sudo pacstrap ~ /mnt base linux nano vi cloud-init cloud-utils syslinux openssh
2727
28+ Install cloud-init-extra package:
2829
29- 4 - Base configure
30- ------------------
31- base system configuration, so the system is bootable. Uses arch-chroot from
32- arch-install-scripts.
33-
34- Its also advisable to try this package that I also maintain from AUR:
30+ https://github.com/GIJack/cloud-init-extra
3531https://aur.archlinux.org/packages/cloud-init-extra/
3632
37- sudo arch-chroot ~ /mnt
38-
39- systemctl enable sshd systemd-networkd cloud-init-local cloud-init cloud-config \
40- cloud-final
41-
42- syslinux-install-update -i -a -m
43-
44- sed -i s/sda3/vda1/g /boot/syslinux/syslinux.cfg
45-
46- nano /etc/mkinitcpio.conf
47-
48- add this to MODULES=(): virtio virtio_pci virtio_blk virtio_net virtio_ring
49-
50- mkinitcpio -p linux
33+ 4 - Base configure
34+ ------------------
5135
52- exit
36+ run /usr/share/cloud-init-extra/init.arch.sh in the chroot.
5337
38+ This entire step has been replaced with this script.
5439
55405 - Dismount
5641------------
You can’t perform that action at this time.
0 commit comments