Can a specific app vm date and time be adjusted

is it possible for a specific app vm i created date and time be different from my system time and date.

reason being, i have created a mullvad vpn network cube that i use to browse with a specific appvpn, whoever when i go to whoer.net it shows my system is different from the ip address i am using

1 Like

You can add something like this in /rw/config/rc.local:

timedatectl set-timezone <TZ>
ln -sf /usr/share/zoneinfo/Your/Timezone /etc/localtime
1 Like

will this be persistent each time i boot that specific app vm?

Yes it will.
/rw/config/rc.local is part of the persistent disk.

much appreciated

whenever i run timedatectl set-timezone <TZ> in the app-vm terminal
with the time zone i inputed i get a response “Failed to set time zone: access denied”

You need to replace <TZ> with the timezone you are looking for.
In the terminal, you need to append sudo to the beginning of the command.

i did …

[user@ocbrowser ~]$ sudo timedatectl set-timezone America/Denver
Failed to set time zone: Access denied

I assume you are using Fedora?
What if you temporarily disable selinux (sudo setenforce 0) and try again?

this option works temporarily but once i restart the app vm it reverts

Are they set in /rw/config/rc.local?
If they are, they can’t revert.

no , how do i do that

Edit the file and paste the commands without sudo and with the correct timezone

1 Like

that works

1 Like