I'm trying to enable CORS Policy on AWS Apigateway. I have done this before and it worked perfectly. But now, while i copied all the configurations correctly i still cannot enable CORS-Policy. AWS is complaining, because there is an invalid response status code specified for the get method. However i configured it so it doesn't make sense. I also deployed my changes multiple times. I had this problems already in the past.
I'm a little bit lost here, since i don't know if my configuration is wrong or it's just aws being aws.
First picture is the error i get. Second picture shows overview of the GET Method and third picture is the detailed configuration of the GET method response.
Lorem ipsum's questions
I'm following this guide in order to deploy a docker-compose application in Azure, and the command
docker compose up
is not found in Azure Container Instances (ACI).
I get the following error:
docker: 'compose' is not a docker command. See 'docker --help'
However I switched the context before with:
docker context use "azuremycontext"
Moreover, I cannot execute the command
docker context create aci azuremycontext
Docker doesn't have this option in my Linux. What am I missing here? I guess it is not linked just to ACI, but rather docker-compose itself?
It seems like chronyd doesn't work in lxc containers. The containers running are not unprivileged. Following is showing up with systemd:
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Fri 2021-02-05 15:12:48 CET; 3s ago
└─ ConditionCapability=CAP_SYS_TIME was not met
Docs: man:chronyd(8)
man:chrony.conf(5)
I would really like to manage the time inside the lxc's not with the host, because it's a lxc cluster and i don't want to mess with the cluster's time. Did somebody already found a workaround for this?
I would like to automate PHP Updates for my Linux Servers with Ansible. Those are SLES so i'm using zypper module for Ansible. The problem is because of a vendor changes in involved zypper is asking me to confirm Solution 1 which is to also update/change vendor for all php modules like this:
Problem: php5-zlib-5.5.14-63.1.x86_64 requires php5 = 5.5.14, but this requirement cannot be provided
Solution 1: Following actions will be done:
install php5-zlib-5.6.40-20.1.x86_64 (with vendor change)
openSUSE --> obs://build.opensuse.org/home:illuusio
Is there an option in Ansible to pick the first Solution and automate the whole process? I already tried force: yes
but it didn't change anything. I'm searching a clean solution. I could write a bash script, but i would like to accomplish it with ansible.
How can i achieve the following behaviour; If user1, which is in group2 creates directories or files, the group should have write permissions by default on this files/directories. I already tried putting umask 002 in /home/user1/.profile and .bashrc but this gave me the following:
drwxr-xr-x 2 user1 group2 4096 Aug 3 11:17 test1
So how can i achieve this? The change should be persistent, even after reboot etc.