Replies: 22 comments 12 replies
-
@lhw any lights on this |
Beta Was this translation helpful? Give feedback.
-
Something like this should work: data "foreman_image" "example" {
name = "some image name"
}
resource "foreman_host" "example" {
name = "compute01.dc1.company.com"
image_id = data.foreman_image.example.id
} |
Beta Was this translation helpful? Give feedback.
-
this is error @lhw
|
Beta Was this translation helpful? Give feedback.
-
This was working upto 0.4.5 and now latest seems like some new stuff has been added.
|
Beta Was this translation helpful? Give feedback.
-
when I am checking the code it has been refactored for provision_method and build params. |
Beta Was this translation helpful? Give feedback.
-
which param is defining i need to use this image for cloning and which param say it goes in network boot |
Beta Was this translation helpful? Give feedback.
-
on 0.5.0 says methods are deprecated now and need to use method and build and if we get some lights on this. |
Beta Was this translation helpful? Give feedback.
-
f390448#diff-cd3952521384329d0a0e1d6a3520280acb84b99f14aa1382053142c13b029896 @lhw i am trying to understand and findiing solution but this is not working even I use build true or false |
Beta Was this translation helpful? Give feedback.
-
it says use build arg how to use that in terraform code |
Beta Was this translation helpful? Give feedback.
-
If you can guide me what I am doing wrong then I will knw |
Beta Was this translation helpful? Give feedback.
-
@lhw any pointer? |
Beta Was this translation helpful? Give feedback.
-
Is this still an issue? If so can you post DEBUG log output for it working in the older provider version and not working in the latest version. Specifically the line containing |
Beta Was this translation helpful? Give feedback.
-
@agriffit79 @lhw
Not working In 0.5.x which has introduced build parameter:-
|
Beta Was this translation helpful? Give feedback.
-
waiting for your response |
Beta Was this translation helpful? Give feedback.
-
This is another regression caused by 2fa9ff2. It's now impossible to set Are you able to locally build and test the provider if I do a quick hack to test it will work? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@agriffit79 its not cloning the vm can you tell me if I missed anything? this is not working in 0.5.x |
Beta Was this translation helpful? Give feedback.
-
@agriffit79 don't why owner has closed this issue? |
Beta Was this translation helpful? Give feedback.
-
Problem was, the "method" (now called "provision_method") argument was not passed on to Foreman, therefore it was always a "build". See PR #122 which re-introduces the method and works with image-based provisioning. |
Beta Was this translation helpful? Give feedback.
-
Hello Team, I am trying to use image as provisioned but by default it is going to install via network boot. Is there any param we need to set to use for cloning VM template.
Beta Was this translation helpful? Give feedback.
All reactions