propellor spin
This commit is contained in:
parent
3835e6b1c7
commit
a829889e95
|
@ -174,7 +174,7 @@ spin hn = do
|
||||||
cacheparams <- toCommand <$> sshCachingParams hn
|
cacheparams <- toCommand <$> sshCachingParams hn
|
||||||
go cacheparams url =<< gpgDecrypt (privDataFile hn)
|
go cacheparams url =<< gpgDecrypt (privDataFile hn)
|
||||||
where
|
where
|
||||||
go cacheparams url privdata = withBothHandles createProcessSuccess (proc "ssh" $ cacheparams ++ [user, bootstrapcmd]) $ \(toh, fromh) -> do
|
go cacheparams url privdata = withBothHandles createProcessSuccess (proc "ssh" $ cacheparams ++ ["-t", user, bootstrapcmd]) $ \(toh, fromh) -> do
|
||||||
let finish = do
|
let finish = do
|
||||||
senddata toh (privDataFile hn) privDataMarker privdata
|
senddata toh (privDataFile hn) privDataMarker privdata
|
||||||
hClose toh
|
hClose toh
|
||||||
|
|
Loading…
Reference in New Issue