Appearance
Install software ​
Installing software on a Managed OS VM is possible in the Temp Admin state.
RHEL
Install software on a Managed OS for RHEL ​
You can install software from the preconfigured Red Hat repositories or from your own configured repositories. The Temp Admin state allows you to install and configure software with root privileges.
Configured repositories ​
All Managed OS VMs are registered to a Red Hat Satellite server. The Red Hat Satellite provides packages from Red Hat and EPEL repositories, as well as the necessary agents. Additional information about EPEL packages.
The following Red Hat repositories are available on all managed Swisscom RHEL VMs:
| Repository name | Repository ID |
|---|---|
| Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) | rhel-8-for-x86_64-baseos-rpms |
| Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) | rhel-8-for-x86_64-appstream-rpms |
| Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) | codeready-builder-for-rhel-8-x86_64-rpms |
| Extra Packages for Enterprise Linux 8 | sc-managed-os_epel_rhel8 |
| Managed OS Agents RHEL 8 | sc-managed-os_esc_managed_os_tools_rhel8 |
The following Red Hat repositories are available on all managed Swisscom RHEL 9 VMs:
| Repository name | Repository ID |
|---|---|
| Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) | rhel-9-for-x86_64-baseos-rpms |
| Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) | rhel-9-for-x86_64-appstream-rpms |
| Red Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs) | codeready-builder-for-rhel-9-x86_64-rpms |
| Extra Packages for Enterprise Linux 9 | sc-managed-os_epel_rhel9 |
| Managed OS Agents RHEL 9 | sc-managed-os_esc_managed_os_tools_rhel9 |
The following Red Hat repositories are available on all managed Swisscom RHEL 10 VMs:
| Repository name | Repository ID |
|---|---|
| Red Hat Enterprise Linux 10 for x86_64 - BaseOS (RPMs) | rhel-10-for-x86_64-baseos-rpms |
| Red Hat Enterprise Linux 10 for x86_64 - AppStream (RPMs) | rhel-10-for-x86_64-appstream-rpms |
| Red Hat CodeReady Linux Builder for RHEL 10 x86_64 (RPMs) | codeready-builder-for-rhel-10-x86_64-rpms |
| Extra Packages for Enterprise Linux 10 | sc-managed-os_epel_rhel10 |
| Managed OS Agents RHEL 10 | sc-managed-os_esc_managed_os_tools_rhel10 |
Configure additional repositories ​
If you want to install software from another repository, you have to configure the repository in /etc/yum.repos.d yourself. Make sure you have connectivity to the repository. If you need to configure a proxy to reach your repository, configure the proxy in your repository configuration file in /etc/yum.repos.d and not in /etc/yum.conf. Be aware that if you install packages from your own repositories, you will have to take care of the patching by yourself.
Install the software ​
- Change to the Temp Admin state, for installing and configuring software.
- If not done during the VM provisioning, add another disk for the software installation according to these instructions and restrictions.
- In the Temp Admin state, it is possible to login with an ssh client and the custadm user. Use the
sudoframework for executing commands. - Install the application
- On a Managed OS for RHEL 8, a host-based firewall (iptables) is running. Configure iptables to allow access to the service from other servers.
- On a Managed OS for RHEL 9 or RHEL 10, a host-based firewall (nftables) is running. Configure nftables to allow access to the service from other servers.
- Change the state of the VM back to the Full Managed state.
Guidelines ​
Please note the following restrictions. Otherwise, the compliance check will fail and the Temp Admin state cannot be left.
- It is allowed to install a RPM from the Red Hat repositories which are attached to each VM. All other software must be installed on a partition which does not belong to an Operating System filesystem.
- Docker cannot be used with the Managed OS for RHEL due to our permission model. Use Podman instead, and run containers as non-root users.
- All logfiles or variable data must be written on a partition which does not belong to an Operating System filesystem. Especially check if you write into a
/var/log/*directory, which then must be on a separate partition. - It's not allowed to configure sudo rules with root privileges.
- It's not allowed to create cronjobs for the user root.
- It's allowed to configure a YUM repository in
/etc/yum.repos.d/for 3rd party software installation. - If you need the yum infrastructure for 3rd party software installation, you mustn't set a proxy in
/etc/yum.conf. Instead, place your proxy in your alternative repository under/etc/yum.repos.d/. - Check all other restrictions from the compliance checks in the Technical Description.
For information on how to provision a Managed OS VM, refer to VM Provisioning.
Windows Server
Install software on a Managed OS for Windows Server ​
Additional software can be installed on a Managed OS for Windows Server. The Temp Admin state allows you to install and configure software with Administrator or root privileges. Note the restrictions below, otherwise the compliance check will fail and the Temp Admin state cannot be left.
- Change to the Temp Admin state, for installing and configuring software
- In the Temp Admin state it is possible to login with RDP and the custadm user
- Install the software
- Change the state for the server back to the Full Managed state
Attention
Always install your software on a separate disk/partition and never on the disk/partition (C: drive) of the OS.
The only exception at this point in time is Microsoft Office, since Microsoft does not allow to install Office elsewhere than on the C: drive of a Windows Server. However, it is only allowed to install the actual software "Microsoft Office" on the systemdrive.
Files that are created with the Office Suite (*.docx, *.xlsx, ...) must be saved outside of the systemdrive. Once you have installed Microsoft Office you must also configure the default file/autosave/save locations to point to a data drive.
If there are any problems regarding diskspace on the C: drive, Swisscom will move potential files created with the Microsoft Office Suite away from the systemdrive to a datadrive on the system.
If you encounter another situation similar to the situation with Microsoft Office, please open a ticket and we will consider the software for an exception case as well.
