propellor spin
This commit is contained in:
parent
80a184d0a5
commit
647e1a6de2
|
@ -25,7 +25,7 @@ getProperties hostname@"clam.kitenet.net" =
|
||||||
, standardSystem Apt.Unstable
|
, standardSystem Apt.Unstable
|
||||||
-- Clam is a tor bridge, and an olduse.net shellbox.
|
-- Clam is a tor bridge, and an olduse.net shellbox.
|
||||||
, Tor.isBridge
|
, Tor.isBridge
|
||||||
, ipv6to4
|
, Network.ipv6to4
|
||||||
, JoeySites.oldUseNetshellBox
|
, JoeySites.oldUseNetshellBox
|
||||||
-- I play with docker on clam.
|
-- I play with docker on clam.
|
||||||
, Docker.configured
|
, Docker.configured
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module Property.Network where
|
module Property.Network where
|
||||||
|
|
||||||
import Common
|
import Common
|
||||||
import qualified Property.File as File
|
import Property.File
|
||||||
|
|
||||||
interfaces :: FilePath
|
interfaces :: FilePath
|
||||||
interfaces = "/etc/network/interfaces"
|
interfaces = "/etc/network/interfaces"
|
||||||
|
@ -17,10 +17,11 @@ ipv6to4 = fileProperty "ipv6to4" go interfaces
|
||||||
stanza =
|
stanza =
|
||||||
[ "# Automatically added by propeller"
|
[ "# Automatically added by propeller"
|
||||||
, "iface sit0 inet6 static"
|
, "iface sit0 inet6 static"
|
||||||
, " address 2002:5044:5531::1"
|
, "\taddress 2002:5044:5531::1"
|
||||||
, " netmask 64"
|
, "\tnetmask 64"
|
||||||
, " gateway ::192.88.99.1"
|
, "\tgateway ::192.88.99.1"
|
||||||
, "# End automatically added by propeller"
|
, "# End automatically added by propeller"
|
||||||
|
]
|
||||||
|
|
||||||
ifUp :: String -> Property
|
ifUp :: String -> Property
|
||||||
ifUp iface = cmdProperty "ifup" [Param iface]
|
ifUp iface = cmdProperty "ifup" [Param iface]
|
||||||
|
|
Loading…
Reference in New Issue