propellor spin
This commit is contained in:
parent
a17f5c70a6
commit
02c357de42
|
@ -78,8 +78,6 @@ spin host = do
|
||||||
hFlush stdout
|
hFlush stdout
|
||||||
s <- w82s . BL.unpack . B64.encode
|
s <- w82s . BL.unpack . B64.encode
|
||||||
<$> BL.readFile keyring
|
<$> BL.readFile keyring
|
||||||
putStrLn $ show $ toMarked keyringMarker s
|
|
||||||
hFlush stdout
|
|
||||||
hPutStrLn toh $ toMarked keyringMarker s
|
hPutStrLn toh $ toMarked keyringMarker s
|
||||||
hFlush toh
|
hFlush toh
|
||||||
putStrLn "done"
|
putStrLn "done"
|
||||||
|
@ -116,7 +114,7 @@ spin host = do
|
||||||
showremote l
|
showremote l
|
||||||
getstatus h
|
getstatus h
|
||||||
Just status -> return status
|
Just status -> return status
|
||||||
showremote s = putStrLn $ host ++ ": " ++ s
|
showremote s = putStrLn s
|
||||||
|
|
||||||
data BootStrapStatus = HaveKeyRing | NeedKeyRing
|
data BootStrapStatus = HaveKeyRing | NeedKeyRing
|
||||||
deriving (Read, Show, Eq)
|
deriving (Read, Show, Eq)
|
||||||
|
|
Loading…
Reference in New Issue