mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
zezere: change secure cookie setting to 'no'
We don't use https in this test (no valid cert), so this has to be 'no'. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
750f26b43b
commit
989bfd22db
@ -8,7 +8,7 @@ sub run {
|
||||
# deploy a zezere (Fedora IoT provisioning server) instance
|
||||
assert_script_run "dnf --enablerepo=updates-testing -y install zezere", 180;
|
||||
# write config file
|
||||
assert_script_run "printf '[global]\nsecret_key = SECRET_KEY\ndebug = yes\nallowed_hosts = localhost, localhost.localdomain, 172.16.2.118\nsecure_cookie = yes\nauth_method = local\n\n[oidc.rp]\nsign_algo = RS256\n\n[database]\nengine = django.db.backends.sqlite3\nname = /var/local/zezere.sqlite3' > /etc/zezere.conf";
|
||||
assert_script_run "printf '[global]\nsecret_key = SECRET_KEY\ndebug = yes\nallowed_hosts = localhost, localhost.localdomain, 172.16.2.118\nsecure_cookie = no\nauth_method = local\n\n[oidc.rp]\nsign_algo = RS256\n\n[database]\nengine = django.db.backends.sqlite3\nname = /var/local/zezere.sqlite3' > /etc/zezere.conf";
|
||||
# write systemd unit file
|
||||
assert_script_run "printf '[Unit]\nDescription=Zezere provisioning server\n\n[Service]\nExecStart=/usr/bin/zezere-manage runserver 172.16.2.118:80\n\n[Install]\nWantedBy=multi-user.target' > /etc/systemd/system/zezere.service";
|
||||
assert_script_run "systemctl daemon-reload";
|
||||
|
Loading…
Reference in New Issue
Block a user