Skip to content

Commit e3472a3

Browse files
committed
updated documentation for extra cloud-init-extra functionality
1 parent 2debc3a commit e3472a3

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

arch_stuff/Arch in the cloud.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Arch In the Cloud
44
This 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

99
1 - Create a Disk Image
1010
-----------------------
@@ -25,32 +25,17 @@ Install Arch to the image with pacstrap from arch-install-scripts:
2525

2626
sudo 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
3531
https://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

5540
5 - Dismount
5641
------------

0 commit comments

Comments
 (0)