mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
disk-mapper: set LUKS2 token to allow reusing unintialized state disks (#2083)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
dc373971b2
commit
6a40c73ff7
10 changed files with 161 additions and 31 deletions
|
@ -147,7 +147,7 @@ func main() {
|
|||
}
|
||||
|
||||
// prepare the state disk
|
||||
if mapper.IsLUKSDevice() {
|
||||
if mapper.IsInitialized() {
|
||||
// set up rejoin client
|
||||
var self metadata.InstanceMetadata
|
||||
self, err = metadataClient.Self(context.Background())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue