Commit graph

65 commits

Author SHA1 Message Date
Timothy Redaelli
78234c8bb6 Use mirror.pkgbuild.com as first mirror and use only https mirrors 2021-08-05 17:33:44 +02:00
Timothy Redaelli
8b78932af7 Revert "Use mirrors.kernel.org as first mirror"
This reverts commit 664dcd02c3.
2021-08-05 17:16:54 +02:00
Timothy Redaelli
01ee93e1f0 Install netctl if needed 2021-08-05 17:16:23 +02:00
Timothy Redaelli
2c894d01a9 In some cases (like Oracle Cloud) the root account is disabled 2021-08-04 19:22:51 +02:00
Timothy Redaelli
d99769e0b0 Merge branch 'patch-1' into 'master'
Pass --needed when installing pkgs with pacman

See merge request drizzt/vps2arch!50
2021-08-04 16:43:06 +00:00
Timothy Redaelli
c88d7ce0b5 Add support for UEFI (Oracle Cloud) 2021-08-04 16:30:52 +02:00
Timothy Redaelli
f8d673dc7a Install xfsprogs when rootfs is xfs
Currently when rootfs is xfs and lvm2 is enabled,
`mkinitcpio -p linux` returns 1 when fsck.xfs is missing
which fails the whole installation.
2021-08-02 17:05:33 +02:00
Timothy Redaelli
1397085d27 Merge branch 'patch-2' into 'master'
Install lvm2 explicitly

See merge request drizzt/vps2arch!52
2019-11-14 23:40:43 +00:00
Felix Yan
cf1a8d08b1 Install lvm2 explicitly
lvm2 is not part of the base installation now and vps2arch fails on lvm-enabled templates because of the missing package. Install lvm2 explicitly to fix this.
2019-11-10 08:50:42 +00:00
Timothy Redaelli
c0f0417743 Merge branch 'patch-1' into 'master'
Add linux to default installation packages

See merge request drizzt/vps2arch!51
2019-10-07 20:07:57 +00:00
Felix Yan
a16dd7bbf6 Add linux to default installation packages
As of Oct 6 the base group becomes a metapackage and removed linux the kernel. We need to install linux explicitly now.
2019-10-06 16:47:45 +00:00
Megver83
b2f4774044 Pass --needed when installing pkgs with pacman 2019-02-20 01:45:40 +00:00
Timothy Redaelli
233a436d74 Add multiple CI tests 2018-12-13 14:16:35 +01:00
Timothy Redaelli
9e1da7cc43 Disable "graphic" terminal output in grub 2018-12-13 14:16:35 +01:00
Timothy Redaelli
7e93a39dcc Merge branch 'patch-1' into 'master'
Fix issue #58: There is no grub folder in the latest grub package.

Closes #58

See merge request drizzt/vps2arch!49
2018-12-10 15:14:53 +00:00
Bruce Zhang
e75329814a fix issue #58 2018-12-10 05:28:09 +00:00
Timothy Redaelli
82568d7ac0 Add .gitlab-ci.yml 2018-11-17 01:43:08 +01:00
Timothy Redaelli
664dcd02c3 Use mirrors.kernel.org as first mirror 2018-11-16 18:10:34 +01:00
xiao201261
f7c3f0ea49 fix awk not found.. 2018-07-09 11:12:08 +02:00
Timothy Redaelli
2e585ba6fc Migrate to Gitlab
Microsoft bought Github and since Microsoft is (in)famous to kill any product
they buy I chose to migrate vps2arch to Gitlab.
2018-06-05 15:45:41 +02:00
Timothy Redaelli
e378928b7f Don't rely on lsblk line order (#27)
In util-linux-2.29 the lines of `lsblk -npsro NAME` are written in
different order, so use TYPE in order to be forward-compatible
2017-02-25 12:42:28 +01:00
Timothy Redaelli
6b14c08748 Add LXC support 2017-02-02 17:50:19 +01:00
Timothy Redaelli
867d5c846a Get mirrors from https://www.archlinux.org/mirrorlist/ when not specified (#24) 2016-11-16 00:32:59 +01:00
Timothy Redaelli
c164d4bb41 Fix getting default gateway (#16)
This fix a nasty bug that only occurs when you have a mac address that
is composed of all zeroes (at least 2) before having a non numeric character (A-F)
2016-06-13 18:55:19 +02:00
Timothy Redaelli
182e92c55e Merge pull request #9 from Wyn10/patch-1
Remove hassle of configuring mirrors.
2016-04-19 11:10:03 +02:00
Timothy Redaelli
f6e56798fd Keep previous /etc/hostname and /etc/localtime 2016-02-02 11:55:23 +01:00
Wyn
3b7abc282e Update vps2arch 2016-01-31 21:59:47 -05:00
Wyn
5c11da6a8b Update vps2arch 2016-01-31 20:18:24 -05:00
Wyn
80438cb94a Update vps2arch
Added Reflector to remove manually needing to set mirrors.
2016-01-31 18:17:06 -05:00
Timothy Redaelli
39dd673d79 Typo 2015-12-01 16:40:57 +01:00
Timothy Redaelli
6cc054c8e9 Enable SSH login for user root (#3) 2015-09-07 17:57:28 +02:00
Timothy Redaelli
87c29b3fd0 Revert "Add support for multiple partitions"
This reverts commit 0d8a64eb96.

It doesn't work on many old distros. I should find a more compatible way
to do that.
2015-07-25 16:59:19 +02:00
Timothy Redaelli
1fffca468e Add a message about ca-certificates not installed 2015-07-17 14:27:19 +02:00
Timothy Redaelli
17cd27524e Use my repository for OpenVZ-patched systemd 2015-07-17 12:42:18 +02:00
Timothy Redaelli
64d2cb8e60 Properly mount the needed directories
Mount options taked from arch-chroot script
2015-07-16 15:17:56 +02:00
Timothy Redaelli
753e0297f7 Try to remove immutable flag from any file before mass deletion 2015-07-16 12:25:50 +02:00
Timothy Redaelli
0d8a64eb96 Add support for multiple partitions 2015-07-16 12:25:12 +02:00
Timothy Redaelli
e1f6ac3123 Add support for Virtuozzo 7 and remove the systemd hack for new OpenVZ legacy kernels
https://bugzilla.openvz.org/show_bug.cgi?id=3280
2015-07-16 11:25:16 +02:00
Timothy Redaelli
dc0c049706 Update README.md 2015-07-01 16:05:02 +02:00
Timothy Redaelli
191a04696b syslinux-install_update needs gptfdisk to work correctly on GPT systems
To be reverted when FS#45029 will be closed
2015-07-01 12:30:27 +02:00
Timothy Redaelli
a01af5d8ac Black Magic is not easy, fix dfacf4fd on x86_64 container. 2015-07-01 01:14:29 +02:00
Timothy Redaelli
31dcc966bf Simplify Routes rule 2015-06-30 18:11:26 +02:00
Timothy Redaelli
dfacf4fd86 Use "Black Magic®" instead of busybox 2015-06-30 17:49:32 +02:00
Timothy Redaelli
6600067241 Add OpenVZ support
WARNING:
This will *downgrade* systemd to 219 because systemd 220 and
later versions doesn't boot with OpenVZ. This will be removed when
upstream will fix that.

NOTE:
You need at least kernel 2.6.32-042stab094.7 or systemd doesn't work.
2015-06-30 17:14:18 +02:00
Timothy Redaelli
40d15a9f33 Add a command line option to specify which networking system use: systemd-networkd or netctl
Fix also support for multiple IPs
2015-06-30 17:13:02 +02:00
Timothy Redaelli
70991d1f4e Add a command line option to specify which bootloader use: grub or syslinux 2015-06-30 17:10:00 +02:00
Timothy Redaelli
bcf8cda4be Add a command line option to specify custom mirror(s) 2015-06-30 17:02:29 +02:00
Timothy Redaelli
b461fdecc3 Don't use aliases inside a function, bash doesn't like it 2015-06-30 01:52:08 +02:00
Timothy Redaelli
6f43d4c31e Fix ip route show parsing 2015-06-28 17:41:39 +02:00
Timothy Redaelli
2f37e22c89 Add --force to grub-install 2015-06-28 17:18:08 +02:00