I created a suse linux enterprise 15 vm in GCP. When I try to install anything it gives the following error.
I searched a lot but couldn't find default package repo for suse.
test-suse:/etc/zypp/repos.d # zypper refresh --services
There are no enabled services defined.
Use 'zypper addservice' or 'zypper modifyservice' commands to add or enable services.
Warning: There are no enabled repositories defined.
Use 'zypper addrepo' or 'zypper modifyrepo' commands to add or enable repositories.
Which is default repo for suse linux enterprise? I only want open source softwares like git, ansible etc.
Thanks in Advance.
Package system and repository configuration
The guest environment for Compute Engine packages are installed from the packages that are supplied by SUSE.
SLES instances register with a SUSE run SMT service for Compute Engine and are configured to use SUSE regional mirrors in Compute Engine.
Note: SUSE images are premium resources that incur additional fees to use.
VM instances created using Google-provided public images include a guest environment that is installed by default.
To update SLES operating systems, run the following commands:
If after run the mentioned command you received an output like this:
Or
Resolution
Enable Internet access from the virtual machines to the Public Cloud Update Infrastructure servers. Once the virtual machine has network connectivity to the Public Cloud Update Infrastructure, you can have the on-demand virtual machine register to the SUSE Public Cloud
Update Infrastructure by executing the following command as root:
Additional Information
The SUSE Public Cloud Engineering team publishes information about the SUSE Public Cloud Update Infrastructure to a REST API. The published information includes server static IP addresses. For customers that have a security policy that allows only external connections to known IP addresses, the published information can be used to create explicit rules for vms to enable SUSE Public Cloud Update Infrastructure communication.
The REST API can be accessed by installing the package
python-susepubliccloudinfo
(pint).Below are the command options available for pint: