Deleting Files
Deleting Uploaded Files
Delete files uploaded to the VM, such as the .rpm packages of jarvis-network-config and SDI drivers.
Deleting Temporary Files
- Run the following commands to delete user login records:
echo > /var/log/btmp
- Run the following commands to delete temporary files:
rm -rf /var/lib/cloud/*
rm -rf /var/log/network-config.log
rm -rf /opt/huawei/network_config/network_config.json
- Delete residual configurations.
- SLES
Check for the files whose names start with ifcfg in the /etc/sysconfig/network-scripts/ folder and delete them except ifcfg-lo and ifcfg.template.
- RHEL, CentOS, Oracle, or EulerOS
Check for the files whose names start with ifcfg in the /etc/sysconfig/network-scripts/ folder and delete them except ifcfg-lo and ifcfg.
- Ubuntu
- SLES
- Run the following command to delete operation records:
history -w;echo > /root/.bash_history;history -c;history -c;history -c;
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot