Skip to content

Why does Terraform not clone my target machine properly? #1060

Answered by maksimsamt
PinguPongu asked this question in Q&A
Discussion options

You must be logged in to vote
  1. In your template there is ide0 disk, not scsi0, so, you have two options:
  • change your template to use scsi0 disk
  • change your Terraform config to use ide0 disk
  1. Your template disk is 64G, in your Terraform config only 20G. Target VM should have the same or larger disk (>=64G, not 20G)

  2. Is it correct, that your template disk is TPM encrypted? If so, I doubt that it is supported by the current terraform provider.

  3. As for CPU [x86-64-v2-AES].
    By default terraform provider sets it to host. If you need any other option, you need to add it to the Terraform configuration, for example

...
cpu =  "x86-64-v2-AES"
...

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@PinguPongu
Comment options

@maksimsamt
Comment options

Comment options

You must be logged in to vote
3 replies
@PinguPongu
Comment options

@maksimsamt
Comment options

Answer selected by PinguPongu
@PinguPongu
Comment options

Comment options

You must be logged in to vote
1 reply
@maksimsamt
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants