7

If I setup a new luks volume with "cryptsetup --verbose --cipher=aes-cbc-essiv:sha256 --key-size=256 luksFormat /dev/foo /my/keyfile" it requires me to enter "YES" to actually do anything. Is there a way to skip this prompt, so I can just run it from a script?

Sec
  • 307
  • 4
  • 12

1 Answers1

7

--batch-mode should do exactly that.

Hauke Laging
  • 5,157
  • 2
  • 23
  • 40