Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhel74_image - should echo output of scripts to disk #382

Closed
goltermann opened this issue Dec 11, 2017 · 3 comments
Closed

rhel74_image - should echo output of scripts to disk #382

goltermann opened this issue Dec 11, 2017 · 3 comments

Comments

@goltermann
Copy link

If ipxe.sh hits some error and hangs up (which could be a poorly specified, it's hard to debug.

We should echo to output of that script to the ~/ of the ipxe instance. We should do the same for sacrifice-launch.sh.

@nelsonse
Copy link
Contributor

nelsonse commented Jan 3, 2018

Here is the problem with ipxe.sh...since this is executed as part of the user_data portion of cloud-init, there is no way that I am aware of to capture the output of the script during execution. However, I believe the output of user-data is captured in /var/log/cloud-init-output.log. I will see if I can output any additional information, but I am dealing with a lack of space (32k bytes) as a maximum size of cloud-init at this point, so adding anything extra required taking away. I will update this thread as I find items.

@anandhmahal
Copy link
Contributor

@nelsonse - any update on this thread? Were you able to find how the information can be exposed?
@goltermann - are you still waiting on this?

@alexng-canuck
Copy link
Member

We're in the middle of moving all the solutions from this repo over to https://github.com/oracle/terraform-examples/tree/master/examples/oci

This issue can now be tracked here: oracle/terraform-examples#21

Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants