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

gf-anaconda-cleanup: Remove cruft in / #492

Merged
merged 1 commit into from
Apr 25, 2019

Conversation

cgwalters
Copy link
Member

In particular the presence of /etc/resolv.conf was confusing,
even though it wasn't used.

Delete everything except /boot and /ostree.

@cgwalters
Copy link
Member Author

hold a min, going to go for the full cleanup

In particular the presence of `/etc/resolv.conf` was confusing,
even though it wasn't used.

Delete everything except `/boot` and `/ostree`.
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

This looks good to me! Will leave it open for a bit for others to have a look.

Copy link
Member

@miabbott miabbott left a comment

Choose a reason for hiding this comment

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

It's so....so tidy:

$ guestfish --ro -a builds/latest/rhcos-410.8.20190425.0-qemu.qcow2 

Welcome to guestfish, the guest filesystem shell for
editing virtual machine filesystems and disk images.

Type: ‘help’ for help on commands
      ‘man’ to read the manual
      ‘quit’ to quit the shell

><fs> run
><fs> mount /dev/sda3 /
libguestfs: error: mount: /tmp/cmd45e6a9.out: No such file or directory
><fs> ll /
total 4
drwxr-xr-x.  4 root root   32 Apr 25 15:39 .
drwxr-xr-x  12 root root 4096 Jan 19  2018 ..
drwxr-xr-x.  2 root root    6 Apr 25 15:37 boot
drwxr-xr-x.  5 root root   62 Apr 25 15:39 ostree

><fs> 

LGTM!

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