From 7983046cd593142373aefd23dee6c1d84400cf1b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 6 Dec 2014 15:28:30 -0400 Subject: update --- src/Propellor/Property/OS.hs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/Propellor') diff --git a/src/Propellor/Property/OS.hs b/src/Propellor/Property/OS.hs index 2185471d..2720b476 100644 --- a/src/Propellor/Property/OS.hs +++ b/src/Propellor/Property/OS.hs @@ -1,7 +1,7 @@ module Propellor.Property.OS ( cleanInstallOnce, Confirmation(..), - preserveNetworkInterfaces, + preserveNetwork, preserveResolvConf, preserveRootSshAuthorized, oldOSRemoved, @@ -46,7 +46,7 @@ import Control.Exception (throw) -- > & os (System (Debian Unstable) "amd64") -- > & cleanInstallOnce (Confirmed "foo.example.com") -- > `onChange` propertyList "fixing up after clean install" --- > [ preserveNetworkInterfaces +-- > [ preserveNetwork -- > , preserveResolvConf -- > , preserverRootSshAuthorized -- > , Apt.update @@ -181,10 +181,11 @@ confirmed desc (Confirmed c) = property desc $ do return FailedChange else return NoChange --- | /etc/network/interfaces is configured to bring up all interfaces that --- are currently up, using the same IP addresses. -preserveNetworkInterfaces :: Property -preserveNetworkInterfaces = undefined -- TODO +-- | /etc/network/interfaces is configured to bring up the network +-- interface that currently has a default route configured, using +-- the same (static) IP address. +preserveNetwork :: Property +preserveNetwork = undefined -- TODO -- | /etc/resolv.conf is copied the from the old OS preserveResolvConf :: Property -- cgit v1.2.3