From 689210145bab6fcbb56f20bb3f0c907621949136 Mon Sep 17 00:00:00 2001
From: Chloe Kudryavtsev <toast@toastin.space>
Date: Thu, 7 Mar 2019 15:32:40 -0500
Subject: [Style] consistency pass

---
 modules/Installing/pages/manual.adoc | 41 +++++++++---------------------------
 1 file changed, 10 insertions(+), 31 deletions(-)

(limited to 'modules/Installing/pages/manual.adoc')

diff --git a/modules/Installing/pages/manual.adoc b/modules/Installing/pages/manual.adoc
index dcaca67..4617eaa 100644
--- a/modules/Installing/pages/manual.adoc
+++ b/modules/Installing/pages/manual.adoc
@@ -4,9 +4,8 @@ If you're here, it's because you want to install alpine semi-automatically, or b
 Either way, this section of the handbook describes, step by step, how to get a system up and running.
 In this section you will find the usage of the various `setup-*` utilities, as well as explanations as to what they do.
 
-== Keyboard Layout
 // MAINT: kbd-bkeymaps, loadkmap, setup-keymap
-
+== Keyboard Layout
 Keyboard layout is controlled by the `loadkmap` service file.
 In `/etc/conf.d/loadkmap` a variable (`KEYMAP`) is defined.
 The file this variable points to is the keymap that will be loaded.
@@ -27,9 +26,8 @@ setup-keymap us us <1>
 ----
 <1> this will copy and use `/usr/share/bkeymaps/us/us.bmap.gz`
 
-== Hostname
 // MAINT: setup-hostname
-
+== Hostname
 Your hostname is the name of your computer.
 It is important that hostnames on your local area network be unique.
 If you need recommendations as to what to make your hostname, you can refer to https://tools.ietf.org/html/rfc1178[RFC 1178].
@@ -59,15 +57,13 @@ For example, if you were to set your hostname to "alpine", with no particular do
 
 Now that you are done, you should apply the hostname using either `rc-service hostname restart` or `/etc/init.d/hostname restart`.
 
-== Networking
 // TODO: rewrite this whole section, once wpa_cli etc is fixed
-
+== Networking
 Before you configure the rest of the system, you should set up networking.
 This will allow you, for instance, to fetch bootloaders, configure sshd (to continue this setup from the comfort of a different, graphically-enabled machine), and other such desirable features.
 
-=== Configure Wireless Networking
 // MAINT: setup-interfaces
-
+=== Configure Wireless Networking
 If your system does not have an ethernet port (or connection) available, you will need to set up wireless connectivity.
 It is strongly recommended that you try to avoid this.
 
@@ -86,7 +82,6 @@ You can find guides around various wireless networking management solutions (inc
 ====
 
 === DHCP
-
 In most cases, you will want to use DHCP.
 If you are on a professional network, or have a common home router, you very likely have it available.
 It is also very common on networks in general.
@@ -99,7 +94,6 @@ In case this doesn't work (or you're on a wireless network), you may need to run
 In such a scenario, the script will ask you questions about your network topology, that you can answer.
 
 === Static IP
-
 In some cases, your network will not have DHCP available.
 In that scenario, you will need to edit `/etc/network/interfaces` and `/etc/resolv.conf` on your own.
 If you ran `setup-interfaces`, it will have asked you if you want to do any manual editing of the network configuration.
@@ -128,7 +122,6 @@ include::example$static.interfaces[]
 ----
 
 === DNS
-
 If you did not end up using DHCP, you will also need to set up DNS.
 This is done by editing the `/etc/resolv.conf` file.
 In most cases, you can use `1.1.1.1`, `8.8.8.8` or `9.9.9.9` as your DNS server.
@@ -151,14 +144,12 @@ Feel free to leave the answer blank, as it is optional.
 ====
 
 === Applying Configuration
-
 Once all of the above is accounted for, you can now start the networking configuration.
 This is done by running `rc-service networking start`.
 If desired, you can also set it to load during boot, using `rc-update add networking boot`.
 
-== Timezone
 // MAINT: musl/tzdata
-
+== Timezone
 Unless you live in the GMT timezone, you may be interested in having your device know where you (or it) is located, time-wise.
 On musl, the timezone is defined by the `TZ` environment variable, which should either mention a POSIX-style timezone, directly point at a file, or have a standard `Area/SubArea` definition, which must be found under `/usr/share/zoneinfo`, `/share/zoneinfo` or `/etc/zoneinfo`.
 
@@ -198,7 +189,6 @@ This is a technical difference, that you likely do not need to worry about, but
 ====
 
 == Repositories
-
 If you want to be able to install packages, you're going to want to have some repositories.
 // MAINT: alpine images
 By default, your boot medium will come with a built-in repository that is on the boot medium itself.
@@ -222,20 +212,16 @@ include::example$repositories.apk[]
 Assuming your network configuration is done, you may also use the `setup-apkrepos` utility, which will fetch a list of valid repositories, and give you a choice between them (and options such as "random").
 
 == Root Password
-
 At this point, you should set up a root password.
 This is easy to do - simply run `passwd` and follow the prompts.
 
 NOTE: You will not see your own typing - this is normal, it is obscured to stop people from being able to peek at your screen, even if just to see the number of characters in your passwords.
 
-== SSH
 // MAINT: setup-sshd
-
-// MAINT: Alpine CD getting a default graphical interface / moving from getty
+== SSH
 SSH is very convenient to have - it means you can be in the comfort of your terminal emulator, rather than a raw getty (the full-screen emulator that shows up when booting up an alpine install medium).
 Now that we have networking, we can set up an ssh daemon.
 
-// MAINT: available sshd
 There are currently two primary secure shell daemons available - openssh and dropbear.
 The latter is more simple, but has its own (incompatible) key format, and can only be configured through command line arguments - as such, it is not recommended for beginners.
 You can install either one using `apk add name`, where name is either "dropbear" or "openssh" respectively.
@@ -245,9 +231,8 @@ WARNING: By default, you cannot use SSH to log in as root using a password.
 
 Note that this can also be done for you by the `setup-sshd` utility - it will ask you which one you would like, install, start and enable it for you.
 
-== NTP
 // MAINT: setup-ntp
-
+== NTP
 It may be useful to make sure that your clock is correct.
 This can be achieved by using an NTP daemon.
 Some of the common ones are `chronyd` and `openntpd`.
@@ -264,9 +249,8 @@ As such, temporarily, it is recommended that you use the `setup-ntp` script and
 
 Note that this can also be done for you by the `setup-ntp` utility - it will ask you which one you would like, install, start and enable it for you.
 
-== Partitioning Your Disk
 // MAINT: parted availability, fdisk, setup-disk
-
+== Partitioning Your Disk
 === `setup-disk`
 
 The `setup-disk` utility can do the rest of this work for you.
@@ -287,8 +271,8 @@ However, in other cases, it is recommended that you at least consider doing this
 These are not covered in this handbook.
 ====
 
-==== Options and Settings
 // MAINT: setup-disk
+==== Options and Settings
 `setup-disk` is configured through command line arguments, as well as environment variables.
 In most cases, if you want setup-disk to do all the work for you, you should not need to specify anything beyond `-m sys`, as in `setup-disk -m sys`.
 This is an incomplete listing - it lacks anything mentioning non-disk installations, as well as anything overly complex (such as automatic lvm/raid).
@@ -317,7 +301,6 @@ Any missing information will be queried from you by `setup-disk`, so only change
 In the scenario where the bootloader installation causes problems, see the sections that follow.
 
 === Parted
-
 :ex_3_sda3: Notice how the `3` in `/dev/sda3` comes from the fact that this is the 3rd partition we created (it also has the 3 in the number in the above planning table).
 
 Parted is GNU's PARTition EDitor.
@@ -367,7 +350,6 @@ p mklabel msdos <2>
 <2> Parted supports both interactive and non-interactive commands. This is the equivalent to running `parted -a optimal /dev/sda`, then entering `mklabel msdos` into the prompt, or entering `mklabel` into the prompt, and answering `msdos` to the incoming question. The specifics as to how you perform the below are up to you.
 
 ==== BIOS + MS-DOS
-
 Under a BIOS setup with an MS-DOS partition table, we can only have 4 primary partitions, and are limited to 2TB disks.
 Extended partitions are outside of the scope of this handbook.
 Under BIOS+MS-DOS, we can use the MBR for installing the bootloader, so we only need to worry about the actual data partitions.
@@ -399,7 +381,6 @@ mkfs.ext4 /dev/sda3 <2>
 <2> {ex_3_sda3}
 
 ==== BIOS + GPT
-
 Under a BIOS setup with a GPT partition table, we do not have an MBR, so we will need to create one.
 Here is an example of a partitioning scheme:
 
@@ -432,7 +413,6 @@ mkfs.ext4 /dev/sda4
 <2> {ex_3_sda3}
 
 ==== UEFI + GPT
-
 Under a UEFI setup, you need to use GPT with an ESP partition.
 It must be FAT32 formatted, and can be used as your boot partition.
 Here is an example of a partitioning scheme:
@@ -462,9 +442,8 @@ mkfs.ext4 /dev/sda3 <2>
 <1> This last section creates the filesystems. In this example, we use ext4 for `/boot` and `/` - you can use any of the supported filesystems.
 <2> {ex_3_sda3}
 
-=== Finalizing
 // MAINT: setup-disk
-
+=== Finalizing
 Now that your filesystems are formatted, you have to mount them under a mountpoint (usually `/mnt`).
 "Mounting" a filesystem is like assigning a drive letter to a hard drive, but can be done under any directory.
 Here is an example of how you would mount the <<_uefi_gpt>> set under `/mnt`:
-- 
cgit v1.2.3

