Commit graph

11 commits

Author SHA1 Message Date
Christian Kotte
32850b5267
Update network configuration
Use systemctl command instead of manually symlinking. Add more
information about systemd Predictable Network Interface Names.
2020-07-12 22:37:46 +02:00
Christian Kotte
f92f1a6834
Move pacman mirror config just before package installation 2020-07-12 22:36:17 +02:00
Christian Kotte
cfb25be9d6
Improve script output
The '==>' prefix is used by pacstrap, pacman, and mkinitcpio. A new
prefix is needed to better differentiate the output of the script from
the output of the programs mentioned above.
Also adding more output to the different steps helps during troubleshooting.
2020-07-12 22:36:01 +02:00
Christian Kotte
fa0111038a
Add linux, dhcpcd, and netctl to the base installation
The base group was changed to a base meta package and many packages were
removed: https://www.archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/

Therefore, it's necessary to add linux or linux-lts to install a Kernel.
Dhcpcd is needed to get an IP after the first reboot. Netctl is needed later when
using Vagrant.
2020-07-12 21:56:10 +02:00
Christian Kotte
336adc0095
Remove hard tabs from install-base.sh
It's best practice to use soft tabs instead of hard tabs.
2020-07-12 21:46:45 +02:00
Boris-Chengbiao Zhou
ce539e2e6d Add workaround for slow CRNG initialization 2019-07-19 14:54:54 -07:00
Aaron Bull Schaefer
45fe1a10d0 Tweak formatting for consistency with project conventions
Just to have the style match across all files in the project.
2016-11-18 12:08:30 -08:00
Attila Bogar
227f42add6 use bash syntax 2016-11-18 11:34:56 -08:00
Attila Bogar
3f2ac7e735 libvirt + country mirror support in box 2016-11-18 11:34:56 -08:00
Nicolas Iooss
322ec10c43 Create vagrant user in vagrant group
The Vagrant documentation for option "group" in syncing folders states
(in https://www.vagrantup.com/docs/synced-folders/basic_usage.html#group):
"By default this will be the SSH user". Vagrant indeed tries to change
the owner and group of synchronized files to vagrant:vagrant (not
vagrant:users). It outputs:

    The following SSH command responded with a non-zero exit status.
    Vagrant assumes that this means the command failed!

    find /vagrant '!' -type l -a '(' ! -user vagrant -or ! -group vagrant
    ')' -exec chown vagrant:vagrant '{}' +

    Stdout from the command:

    Stderr from the command:

    find: 'vagrant' is not the name of an existing group

Fix this by using --user-group instead of --gid users in the useradd
command which creates user vagrant.
2016-11-13 10:29:12 -08:00
Tom Swartz
455dc90842 Move Provisioning to STDOUT
Previously, there was an issue with mkfs failing due to a missing
options flag; this error was difficult to catch, as it was only output
in the provisioned OS's virtual machine file.

This change moves the base installation steps to be more in line with
the other provisioning steps, and allows for any errors, issues, or
output to be cached in the logs of the interface running the Packer
build.
2016-11-07 17:53:19 -08:00
Renamed from srv/install-base.sh (Browse further)