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

update: resolve issues while provisioning noble oem machine using oem_autoinstall #398

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kevinyehk
Copy link
Contributor

Description

  • While trying to provision with oem_autoinstall, I found that the provisioning always failed at this line, after some investigation, the provision directory hasn't been created when using default user data, so just added one line for creating the directory before copy data.
  • The default output of wget progress is using dot style, which will make the log hard to read, so I propose to use the bar style.

Resolved issues

  • unable to provision:
2024-11-08 06:58:15,698 dell-xps139340-c34207 INFO: DEVICE CONNECTOR: No user-data provided, using default user-data file
  • output is hard to read
Saving to: ‘/home/ubuntu/somerville-noble-oem-24.04a-20240729-53.iso’

     0K .......... .......... .......... .......... ..........  0%  104K 14h23m
    50K .......... .......... .......... .......... ..........  0%  484K 8h43m
   100K .......... .......... .......... .......... ..........  0%  268K 7h40m
   150K .......... .......... .......... .......... ..........  0%  565K 6h24m
   200K .......... .......... .......... .......... ..........  0%  492K 5h44m
   250K .......... .......... .......... .......... ..........  0% 1003K 5h1m
   300K .......... .......... .......... .......... ..........  0%  902K 4h32m
   350K .......... .......... .......... .......... ..........  0% 1014K 4h9m

Tests

Test with this TF job.
https://testflinger.canonical.com/jobs/1d67567a-0c62-4846-be87-a72e285f3714

@kevinyehk kevinyehk requested a review from a team as a code owner November 8, 2024 07:01
Artur-at-work
Artur-at-work previously approved these changes Nov 8, 2024
Copy link
Contributor

@Artur-at-work Artur-at-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks for fixing

Copy link

@pseudocc pseudocc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See inline comments.

BTW, it's glad to see atomic commits for a better git history, please split this commit into two and reword them if you agree with my point.

@kevinyehk
Copy link
Contributor Author

@pseudocc Please have a review again, thanks.

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

Successfully merging this pull request may close these issues.

3 participants