Skip to content

Missing information about what CRC changes in the machine #2998

Description

@didib

The getting started guide does not mention anywhere e.g. "/etc/hosts" or "resolv.conf". I'd like, as a user, if I consider using CRC, to know beforehand, what it's going to touch on my laptop - both as root/sudo (/etc/*) and in my home directory.

Perhaps better not have this hard-coded in docs/getting-started but have a 'crc' sub-command to show it.

What I found out so far (by having /etc/ maintained in git and looking at my home directory, didn't check elsewhere nor the code):

crc setup:

crc start:

  • Changes /etc/hosts
  • Creates /etc/libvirt/qemu/crc.xml
  • Creates /etc/libvirt/storage/crc.xml

Both of them (didn't check which - likely setup):

  • Create $HOME/.config/systemd/user/crc* - user systemd units
  • Create $HOME/.crc - crc itself - perhaps should be made configurable somehow

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions