Sha256: 291339b24825b3df5fea2503da0dba9baa524c497540d26602f8f2008e65e3a7

Contents?: true

Size: 1.73 KB

Versions: 16

Compression:

Stored size: 1.73 KB

Contents

# Arch Linux


## Tip

Since this is a "net" install and all packages are downloaded, you can
speed up the download of the base packages by getting [Pacman][] to use
a suitable [mirror][].

For example, I modified the definition to make Pacman use Australian and
New Zealand mirrors.

    @@ -27,6 +27,7 @@
       'passwd<Enter>',
       "#{root_password}<Enter>",
       "#{root_password}<Enter>",
    +    "echo 'Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch' > /etc/pacman.d/mirrorlist<Enter>",
       'systemctl start sshd.service<Enter><Wait>',
     ],
     :ssh_login_timeout => '10000',
    @@ -58,6 +59,6 @@
     ],
     :postinstall_timeout => '10000',
     :params => {
    -    #:PACMAN_REFLECTOR_ARGS => '--verbose -l 5 --sort rate --save /etc/pacman.d/mirrorlist',
    +    :PACMAN_REFLECTOR_ARGS => '--verbose -c "New Zealand" -c Australia -n 5 --sort rate --save /etc/pacman.d/mirrorlist',
     }
    })

You can obtain a suitable mirrorlist for yourself using the [Pacman
Mirrorlist Generator][]. The list of countries with mirrors is on that
page too.

Once the base system is installed, the template uses [Reflector][] to
set up Pacman's mirrorlist for the remaining packages. By default, the
arguments passed to Reflector favour up-to-date mirrors sorted by their
download rate. As shown above, you may customize the arguments to your
liking.


## Note

* Reflector is uninstalled by the template following the mirrorlist
  generation
* The template currently only supports VirtualBox provider


[Pacman]: https://wiki.archlinux.org/index.php/Pacman
[mirror]: https://wiki.archlinux.org/index.php/Mirrors
[Pacman Mirrorlist Generator]: https://www.archlinux.org/mirrorlist/
[Reflector]: https://wiki.archlinux.org/index.php/Reflector

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/archlinux-x86_64/README.md
veewee-0.5.0.alpha3 templates/archlinux-x86_64/README.md
veewee-0.5.0.alpha2 templates/archlinux-x86_64/README.md
veewee-0.5.0.alpha1 templates/archlinux-x86_64/README.md
veewee-0.4.5.1 templates/archlinux-x86_64/README.md
veewee-0.4.5 templates/archlinux-x86_64/README.md
veewee-0.4.5.pre1 templates/archlinux-x86_64/README.md
veewee-0.4.4 templates/archlinux-x86_64/README.md
veewee-0.4.3 templates/archlinux-x86_64/README.md
veewee-0.4.2 templates/archlinux-x86_64/README.md
veewee-0.4.1 templates/archlinux-x86_64/README.md
veewee-0.4.0 templates/archlinux-x86_64/README.md
veewee-0.3.12 templates/archlinux-x86_64/README.md
veewee-0.3.11 templates/archlinux-x86_64/README.md
veewee-0.3.10 templates/archlinux-x86_64/README.md
veewee-0.3.9 templates/archlinux-x86_64/README.md