Applicable to:
- SolusVM 2
Question
How to remove IPv6 address from VM in SolusVM 2?
Answer
This functionality is yet to be added in SolusVM 2(SIO-5987)
As a workaround:
- Create a SolusVM 2 Database backup: How-to-create-SolusVM-2-database-backup
- Access the Management Node via SSH and access the database with the following command:
# docker exec -it $(docker ps -q -f name=solus_postgres | head -n1) psql -U$(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_USER | awk -F "=" {'print $2'}) $(docker exec $(docker ps -q -f name=solus_postgres | head -n1) env | grep POSTGRES_DB | awk -F "=" {'print $2'})
- Run this to remove the 'primary' flag:
# update ips set is_primary='f' where compute_resource_vm_id=1 and type='IPv6';
Note: Fetch the compute_resource_vm_id by navigating in the UI to the VPS in question and check the ID.
- You can remove the entry in UI once it's done.
- Remove ipv6 entry from terminal:
CONFIG_TEXT: /vz/private/8f1ce3c8-e440-4e16-b3c5-6d5180261f19/ve.conf
Lastly, Reboot the VM.
Comments
Please sign in to leave a comment.