Commit graph

51 commits

Author SHA1 Message Date
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
Timothy Redaelli
f539dcbf93 Avoid useless command duplication and fork 2015-06-28 00:23:44 +02:00
Timothy Redaelli
8daf31f910 Add a post-installation message about configuring mirror 2015-06-27 21:34:09 +02:00
Timothy Redaelli
1f46c90a18 Add Tested VPS Providers link 2015-06-27 21:30:57 +02:00
Timothy Redaelli
5413244184 Add dgix.ru as fallback mirror 2015-06-27 21:07:19 +02:00
Timothy Redaelli
8a6048fc54 For coherency use [[:space:]] instead of \s in grep too 2015-06-27 15:47:46 +02:00
Timothy Redaelli
0354bb1ca2 Use pacman -S instead of curl + pacman -U to install haveged and busybox 2015-06-27 15:47:27 +02:00
Timothy Redaelli
ca065ec550 Don't copy mirrorlist 2015-06-27 14:41:33 +02:00
Timothy Redaelli
6a7f2df648 Use chroot curl to download Arch Linux packages
This is needed to avoid the following error when migrating from some old
distros:

OpenSSL: error:100AE081:elliptic curve
routines:EC_GROUP_new_by_curve_name:unknown group
OpenSSL: error:1408D010:SSL routines:SSL3_GET_KEY_EXCHANGE:EC lib
Unable to establish SSL connection.
2015-06-27 11:43:47 +02:00
Timothy Redaelli
c4966d3684 Don't use -nv option of wget 2015-06-27 02:13:40 +02:00
Timothy Redaelli
a3f1a249db lvm2 is already in base group 2015-06-27 02:10:19 +02:00
Timothy Redaelli
3dea66516e Use vps2arch as root password if it was not set 2015-06-27 01:52:07 +02:00
Timothy Redaelli
57da052692 Sometimes umount can returns error, just ignore it. 2015-06-27 01:01:09 +02:00
Timothy Redaelli
89b96e213b Fix a typo in cp, -L is the correct flag 2015-06-27 01:01:09 +02:00
drizzt
0e12f9b064 Add real computers hypothesis 2015-06-26 22:13:56 +02:00