
Hello everybody, there are some wrong log events in the controller. How can I delete the events information after I have checked it?

My VM's system is centos7,I have configured the hostname and IP address successfully through the cloud-init. But I dont know how to configure the custom script,Is here anyone can help me? For example: I want to format the disk-sdb,then mount it on /data. ''' 3 steps mkfs.xfs /dev/sdb mount /dev/sdb /data echo"/dev/sdb /data xfs defaults 0 0" >>/etc/fstab ''' How do I write this script? zhouhao@vip.friendtimes.net

Hi, You will need to refer the cloud-init docs for that. You have examples in: https://cloudinit.readthedocs.io/en/latest/topics/examples.html The modules in: https://cloudinit.readthedocs.io/en/latest/topics/modules.html Regards, Liran. On Tue, Mar 17, 2020 at 12:03 PM zhouhao@vip.friendtimes.net < zhouhao@vip.friendtimes.net> wrote:
My VM's system is centos7,I have configured the hostname and IP address successfully through the cloud-init. But I dont know how to configure the custom script,Is here anyone can help me? For example: I want to format the disk-sdb,then mount it on /data. ''' 3 steps mkfs.xfs /dev/sdb mount /dev/sdb /data echo"/dev/sdb /data xfs defaults 0 0" >>/etc/fstab ''' How do I write this script?
------------------------------ zhouhao@vip.friendtimes.net
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/GZI4EHMVG4LQ2F...

On March 17, 2020 11:57:59 AM GMT+02:00, "zhouhao@vip.friendtimes.net" <zhouhao@vip.friendtimes.net> wrote:
My VM's system is centos7,I have configured the hostname and IP address successfully through the cloud-init. But I dont know how to configure the custom script,Is here anyone can help me? For example: I want to format the disk-sdb,then mount it on /data. ''' 3 steps mkfs.xfs /dev/sdb mount /dev/sdb /data echo"/dev/sdb /data xfs defaults 0 0" >>/etc/fstab ''' How do I write this script?
zhouhao@vip.friendtimes.net
You can check here: https://cloudinit.readthedocs.io/en/latest/topics/examples.html#disk-setup Line 168 Best Regards, Strahil Nikolov

Hi, I know that you can dismiss events in top right menu Messages drawer (3dot menu next to event). They then disappear also from Events list in left menu. Or you can use REST API |DELETE /ovirt-engine/api/events/123| Best regards, Lucie On 3/17/20 9:49 AM, xilazz@126.com wrote:
Hello everybody, there are some wrong log events in the controller. How can I delete the events information after I have checked it? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/2WULJSVZFYOYBI...
-- Lucie Leistnerova Senior Quality Engineer, QE Cloud, RHVM Red Hat EMEA IRC: lleistne @ #rhev-qe

Hi, I know that you can dismiss events in top right menu Messages drawer (3dot menu next to event). They then disappear also from Events list in left menu. Or you can use REST API |DELETE /ovirt-engine/api/events/123| Best regards, Lucie On 3/17/20 9:49 AM, xilazz@126.com wrote:
Hello everybody, there are some wrong log events in the controller. How can I delete the events information after I have checked it? _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/2WULJSVZFYOYBI...
-- Lucie Leistnerova Senior Quality Engineer, QE Cloud, RHVM Red Hat EMEA IRC: lleistne @ #rhev-qe
participants (5)
-
Liran Rotenberg
-
Lucie Leistnerova
-
Strahil Nikolov
-
xilazz@126.com
-
zhouhao@vip.friendtimes.net