Friday, March 18, 2022

Editing networks using virsh

 

Editing networks using virsh

virsh net-edit somenetwork
virsh net-destroy somenetwork
virsh net-start somenetwork


Unless you destroy and start it again it won't be effect. 

To verify the changes:

virsh net-dumpxml somenetwork 


Creating storage pool using virsh


Creating storage pool using virsh:


virsh pool-create-as default dir --target /var/lib/libvirt/images

virsh pool-dumpxml default > storage-pool.xml

virsh pool-define storage-pool.xml 

virsh pool-autostart default


Friday, March 11, 2022

Default username fedora - AWS

 

Default username for fedora instance in AWS: fedora  

For ubuntu OS, it is ubuntu.

For all others, ec2-user

Please refer AWS documentation for more authentic detail :)

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html