diff options
Diffstat (limited to 'guix/scripts/environment.scm')
-rw-r--r-- | guix/scripts/environment.scm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index e14bc95df7..ad1b26454a 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -903,10 +903,6 @@ WHILE-LIST." (setenv "HOME" home-dir) - (unless network? - ;; Allow local AF_INET communications. - (set-network-interface-up "lo")) - ;; For convenience, start in the user's current working ;; directory or, if unmapped, the home directory. (chdir (if map-cwd? @@ -961,13 +957,6 @@ WHILE-LIST." (write-passwd (list passwd)) (write-group groups) - (unless network? - ;; When isolated from the network, provide a minimal /etc/hosts - ;; to resolve "localhost". - (call-with-output-file "/etc/hosts" - (lambda (port) - (display "127.0.0.1 localhost\n" port)))) - ;; Call an additional setup procedure, if provided. (when setup-hook (setup-hook profile))) |