Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
storagedriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2ee7f788
authored
Jan 23, 2022
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://git.ik.bme.hu/CIRCLE3/storagedriver
parents
040df5cc
be7aaa3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
disk.py
+2
-1
miscellaneous/storagecelery@.service
+1
-1
No files found.
disk.py
View file @
2ee7f788
...
@@ -181,7 +181,8 @@ class Disk(object):
...
@@ -181,7 +181,8 @@ class Disk(object):
format_map
=
[
format_map
=
[
(
"qcow"
,
"qcow2-norm"
),
(
"qcow"
,
"qcow2-norm"
),
(
"iso"
,
"iso"
),
(
"iso"
,
"iso"
),
(
"x86 boot sector"
,
"iso"
)
(
"x86 boot sector"
,
"iso"
),
(
"dos/mbr"
,
"iso"
)
]
]
with
magic
.
Magic
()
as
m
:
with
magic
.
Magic
()
as
m
:
ftype
=
m
.
id_filename
(
self
.
get_path
())
ftype
=
m
.
id_filename
(
self
.
get_path
())
...
...
miscellaneous/storagecelery@.service
View file @
2ee7f788
...
@@ -12,4 +12,4 @@ Restart=always
...
@@ -12,4 +12,4 @@ Restart=always
WorkingDirectory=/home/cloud/storagedriver
WorkingDirectory=/home/cloud/storagedriver
ExecStart=/bin/bash -c "source /
home/cloud/.virtualenvs/storage/bin/activate; source /home/cloud/.virtualenvs/storage/bin/postactivate; exec celery -A storagecelery worker --loglevel=info
-n $(/bin/hostname -s).%I"
ExecStart=/bin/bash -c "source /
etc/profile; workon storagedriver; exec celery -A storagecelery worker --loglevel=debug
-n $(/bin/hostname -s).%I"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment