c SSH daemon where SSH daemon can be one of the following: This is run as part of the setup-alpine script. 1 Add first mirror on the list (normally a CDN) If none was chosen then the value it is set to a blank value (and so no proxy is used). This script exports the following environmental variables: This script requests the system proxy to use in the form for example: q Quiet mode prevents changes from taking effect until after reboot Setup-timezone setup-timezone Ĭan pre-select the timezone using either of these switches: It can be run manually but is also invoked in the setup-alpine script unless interfaces are configured for DHCP. The contents should have the format of /etc/network/interfaces, such as: Note that the contents of interfaces-file has to be supplied as stdin, rather than naming the file as an additional argument. The script can be invoked manually or is called as part of the setup-alpine script. The script prevents you from writing an invalid hostname (such as one that used invalid characters or starts with a '-' or is too long). This script allows quick and easy setup of the system hostname by writing it to /etc/hostname. Doing so will spin up a temporary networking config if one is not already active. You can also specify a HTTP(S) or FTP URL for setup-alpine to download an answerfile from. f answerfile Use an existing answerfile, which may override some or all of the interactive prompts. You can edit the file and then invoke setup-alpine -f answerfile. c answerfile Create a new answerfile with default choices. a Create an overlay file: this creates a temporary directory and saves its location in ROOT however, the script doesn't export this variable so I think this feature isn't currently functional. h Shows the up-to-date usage help message. Setup-alpine itself accepts the following command-line switches: if installation mode selected during setup-disk was "data" instead of "sys", then: setup-apkcache.if installation mode selected during setup-disk was "data" instead of "sys", then: setup-lbu.if not in quick mode, then: DEFAULT_DISK=none setup-disk -q (see Installation#Installation_Overview about the disk modes). if not in quick mode, then: setup-ntp.if not in quick mode, then: setup-sshd.setup-proxy [-q " and activate proxy if it was configured.extract the fully-qualified domain name and hostname from /etc/nf and hostname, and update /etc/hosts.add networking and seedrng (also referred to as urandom in versions prior to OpenRC 0.45) to the boot rc level, and acpid and crond to the default rc level, and start the boot and default rc services.enable the new hostname ( /etc/init.d/hostname -quiet restart).if not in quick mode, then: setup-timezone.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |