Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
uaclient /
clouds /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-07-09 11:30
__init__.py
990
B
-rw-r--r--
2022-05-18 21:44
aws.py
3.94
KB
-rw-r--r--
2022-05-18 21:44
azure.py
1.94
KB
-rw-r--r--
2022-05-18 21:44
gcp.py
3.56
KB
-rw-r--r--
2022-05-18 21:44
identity.py
2.71
KB
-rw-r--r--
2022-05-18 21:44
Save
Rename
import abc from typing import Any, Dict class AutoAttachCloudInstance(metaclass=abc.ABCMeta): @property @abc.abstractmethod def identity_doc(self) -> Dict[str, Any]: """Return the identity document representing this cloud instance""" pass @property @abc.abstractmethod def cloud_type(self) -> str: """Return a string of the cloud type on which this instance runs""" pass @property @abc.abstractmethod def is_viable(self) -> bool: """Return True if the machine is a viable AutoAttachCloudInstance.""" pass @abc.abstractmethod def should_poll_for_pro_license(self) -> bool: """ Cloud-specific checks for whether the daemon should continously poll for Ubuntu Pro licenses. """ pass @abc.abstractmethod def is_pro_license_present(self, *, wait_for_change: bool) -> bool: """ Check for an Ubuntu Pro license """ pass