Commit graph

486 commits

Author SHA1 Message Date
Eelco Dolstra
e23de214ab * Only start dhclient on real network interfaces like eth0, not aliases like eth0:0.
svn path=/nixos/trunk/; revision=8012
2007-02-22 14:06:15 +00:00
Eelco Dolstra
e576209a61 * ifconfig up -> ifconfig.
svn path=/nixos/trunk/; revision=8011
2007-02-22 14:00:22 +00:00
Martin Bravenboer
8e6c1ba85d Support organization configuration for subversion
svn path=/nixos/trunk/; revision=8006
2007-02-22 10:55:58 +00:00
Eelco Dolstra
312e3d0e6b * Make ping setuid root.
svn path=/nixos/trunk/; revision=7970
2007-02-21 14:42:56 +00:00
Eelco Dolstra
1dd2eb58be * Set the hardware clock when shutting down.
svn path=/nixos/trunk/; revision=7933
2007-02-20 16:25:49 +00:00
Martin Bravenboer
e99ffcbe71 changed the extraSubservices to a list of functions
svn path=/nixos/trunk/; revision=7931
2007-02-20 15:57:15 +00:00
Eelco Dolstra
a17b1d5c5f * Kill all processes during shutdown so that we can unmount
filesystems cleanly.

svn path=/nixos/trunk/; revision=7930
2007-02-20 15:51:13 +00:00
Eelco Dolstra
454716ef4f * Typo.
svn path=/nixos/trunk/; revision=7928
2007-02-20 15:14:48 +00:00
Martin Bravenboer
eeee6ea1e2 added configuration option for extraSubservices, which allows you to plugin an arbitrary service into the webserver.
svn path=/nixos/trunk/; revision=7926
2007-02-20 15:11:49 +00:00
Eelco Dolstra
ef8e5716cb * Set the right PATH for dhclient.
svn path=/nixos/trunk/; revision=7925
2007-02-20 14:59:29 +00:00
Eelco Dolstra
66a9cfbcdc * Give everybody access to /dev/kvm. I *think* that's safe...
svn path=/nixos/trunk/; revision=7923
2007-02-20 14:30:05 +00:00
Eelco Dolstra
619c3e0465 * Don't use the DHCP wrapper.
svn path=/nixos/trunk/; revision=7921
2007-02-20 14:20:33 +00:00
Eelco Dolstra
17cc5ecc47 * Add OpenSSH and pciutils to the boot environment.
svn path=/nixos/trunk/; revision=7918
2007-02-19 22:33:44 +00:00
Eelco Dolstra
06a6116c44 * Allow manual network configuration, i.e., specificying the IP
address, gateway, and nameservers in the system configuration.

svn path=/nixos/trunk/; revision=7898
2007-02-12 16:00:55 +00:00
Eelco Dolstra
d4c172469d * Add $profile/sbin to the PATH.
svn path=/nixos/trunk/; revision=7896
2007-02-12 15:29:43 +00:00
Eelco Dolstra
ac93023f35 * Pass userCreationDomain.
svn path=/nixos/trunk/; revision=7891
2007-02-12 11:57:18 +00:00
Eelco Dolstra
582abdaae2 * Option boot.copyKernels to copy all kernels and initrd to
/boot/kernels.  This is necessary if /nix is on a different file
  system than /.  (And it will allow us to support a separate /boot
  partition too.)

svn path=/nixos/trunk/; revision=7887
2007-02-09 16:19:29 +00:00
Eelco Dolstra
2c62eac3a1 * Check if Subversion is already installed.
svn path=/nixos/trunk/; revision=7886
2007-02-08 19:53:21 +00:00
Eelco Dolstra
7ac8157fed * Doh!
svn path=/nixos/trunk/; revision=7885
2007-02-08 19:51:36 +00:00
Eelco Dolstra
7fac47a98b svn path=/nixos/trunk/; revision=7884 2007-02-08 18:23:57 +00:00
Eelco Dolstra
56576e7c28 * Prevent repeated mounting.
svn path=/nixos/trunk/; revision=7882
2007-02-08 15:24:13 +00:00
Eelco Dolstra
2f6810d4af svn path=/nixos/trunk/; revision=7878 2007-02-07 16:10:37 +00:00
Eelco Dolstra
6c529fac77 * Very naughty of me not to use -boot-info-table. Now I know better.
svn path=/nixos/trunk/; revision=7875
2007-02-07 15:23:19 +00:00
Eelco Dolstra
5d02654a3c * Splashutils now works on x86_64.
svn path=/nixos/trunk/; revision=7873
2007-02-06 22:49:20 +00:00
Eelco Dolstra
06853a6083 svn path=/nixos/trunk/; revision=7872 2007-02-06 22:23:56 +00:00
Eelco Dolstra
56f813a0fe * Readme is obsolete now.
svn path=/nixos/trunk/; revision=7870
2007-02-06 21:38:59 +00:00
Eelco Dolstra
5aed111620 * More manual.
svn path=/nixos/trunk/; revision=7869
2007-02-06 21:25:36 +00:00
Eelco Dolstra
9759134665 * Manual.
svn path=/nixos/trunk/; revision=7868
2007-02-06 21:14:02 +00:00
Eelco Dolstra
98a3eaf6b7 svn path=/nixos/trunk/; revision=7865 2007-02-06 18:31:32 +00:00
Eelco Dolstra
f2e85499f3 * Doh.
svn path=/nixos/trunk/; revision=7864
2007-02-06 18:29:20 +00:00
Eelco Dolstra
8cf1eceb0a * Allow multiple file systems to be mounted in stage 1 (i.e., from the
initrd).  This is useful if /nix (which is necessary for stage 2) is
  on a different file system than /.

svn path=/nixos/trunk/; revision=7862
2007-02-06 16:53:36 +00:00
Eelco Dolstra
923348b490 * Provide a script "nixos-checkout" to replace the NixOS/Nixpkgs
sources in /etc/nixos with a Subversion checkout of those trees.
  This should be run after a successful installation if you want to
  keep NixOS up to date from Subversion.

svn path=/nixos/trunk/; revision=7859
2007-02-06 14:13:12 +00:00
Eelco Dolstra
97aa1faa33 * Create /etc/nixos/install-source.nix.
svn path=/nixos/trunk/; revision=7858
2007-02-06 14:06:42 +00:00
Eelco Dolstra
1551c50a20 svn path=/nixos/trunk/; revision=7857 2007-02-06 13:21:15 +00:00
Eelco Dolstra
b044899891 * A helpful warning.
svn path=/nixos/trunk/; revision=7856
2007-02-06 13:20:53 +00:00
Eelco Dolstra
42bcb9a2a7 * Recreate the /bin/sh symlink.
svn path=/nixos/trunk/; revision=7855
2007-02-06 13:15:52 +00:00
Eelco Dolstra
5d0f7bdadd * Better checking.
svn path=/nixos/trunk/; revision=7854
2007-02-06 13:12:10 +00:00
Eelco Dolstra
08ad51690d * Merge the test and upgrade scripts into a program "nixos-rebuild"
which is included in the system path.

svn path=/nixos/trunk/; revision=7853
2007-02-06 13:09:25 +00:00
Eelco Dolstra
25684805d5 * nixos-installer -> nixos-install.
svn path=/nixos/trunk/; revision=7852
2007-02-06 10:46:36 +00:00
Eelco Dolstra
3481970525 * Consistent naming.
svn path=/nixos/trunk/; revision=7851
2007-02-06 10:41:04 +00:00
Eelco Dolstra
6c4701f7cc * Quick hack to get scp to work again.
svn path=/nixos/trunk/; revision=7850
2007-02-06 10:17:13 +00:00
Eelco Dolstra
ea9a82042c * Set ownership.
svn path=/nixos/trunk/; revision=7849
2007-02-05 21:18:02 +00:00
Eelco Dolstra
b674f74c2d * Installer fixes.
svn path=/nixos/trunk/; revision=7848
2007-02-05 21:06:59 +00:00
Eelco Dolstra
ea41e46e6d * Unpack the NixOS/Nixpkgs sources automatically when booting from the
installation CD.

svn path=/nixos/trunk/; revision=7847
2007-02-05 16:52:13 +00:00
Eelco Dolstra
6291281358 * Copy the NixOS/Nixpkgs sources to /etc/nixos on the target.
svn path=/nixos/trunk/; revision=7846
2007-02-05 16:23:19 +00:00
Eelco Dolstra
4f64075215 * Installer: defaults for all arguments. The NixOS sources are
assumed to be in /etc/nixos/nixos and the system configuration in
  /etc/nixos/configuration.nix.  This is overridable through a few
  environment variables.
* Installer: check that the mount point does in fact have a file
  system mounted on it (so that we don't install in an empty /mnt),
  and don't unmount afterwards for symmetry.

svn path=/nixos/trunk/; revision=7845
2007-02-05 15:52:55 +00:00
Eelco Dolstra
82067ff5bd * Better instructions.
svn path=/nixos/trunk/; revision=7844
2007-02-05 15:20:39 +00:00
Eelco Dolstra
4b7e9b5401 * Instructions on testing the installer without having to make an ISO
/ burn a CD, namely by making a loopback target file system.
* Installer: continue if the MANIFEST on the CD is missing (useful if
  we're not actually installing from a CD).

svn path=/nixos/trunk/; revision=7843
2007-02-05 15:12:47 +00:00
Eelco Dolstra
6fcd79d2ce * Merge the common-* files.
svn path=/nixos/trunk/; revision=7818
2007-01-30 15:03:43 +00:00
Eelco Dolstra
2c41edd1bc * Turn on pam_env for everything.
svn path=/nixos/trunk/; revision=7817
2007-01-30 14:58:04 +00:00