Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
11955626
authored
Mar 01, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: fixed test sharequota
parent
78ba1b0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
223 additions
and
2 deletions
+223
-2
miscellaneous/dump.json
+222
-1
miscellaneous/dump.sh
+1
-1
No files found.
miscellaneous/dump.json
View file @
11955626
...
...
@@ -143,7 +143,7 @@
"is_active"
:
true
,
"is_superuser"
:
true
,
"is_staff"
:
true
,
"last_login"
:
"2013-0
1-30T23:33:3
2Z"
,
"last_login"
:
"2013-0
3-01T18:37:2
2Z"
,
"groups"
:
[],
"user_permissions"
:
[],
"email"
:
""
,
...
...
@@ -341,6 +341,227 @@
},
{
"pk"
:
1
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
1
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
1
}
},
{
"pk"
:
2
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
2
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
2
}
},
{
"pk"
:
3
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
3
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
3
}
},
{
"pk"
:
4
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
4
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
4
}
},
{
"pk"
:
5
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
5
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
5
}
},
{
"pk"
:
6
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
6
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
6
}
},
{
"pk"
:
7
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
100
,
"ssh_key"
:
7
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
7
}
},
{
"pk"
:
8
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
8
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
12
}
},
{
"pk"
:
9
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
9
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
13
}
},
{
"pk"
:
10
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
10
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
14
}
},
{
"pk"
:
11
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
11
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
15
}
},
{
"pk"
:
12
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
12
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
16
}
},
{
"pk"
:
13
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
13
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
17
}
},
{
"pk"
:
14
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
14
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
18
}
},
{
"pk"
:
15
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
15
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
20
}
},
{
"pk"
:
16
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
16
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
21
}
},
{
"pk"
:
17
,
"model"
:
"one.userclouddetails"
,
"fields"
:
{
"share_quota"
:
0
,
"ssh_key"
:
17
,
"disk_quota"
:
2048
,
"instance_quota"
:
20
,
"ssh_private_key"
:
"-----xxx PRIVATE KEY-----"
,
"smb_password"
:
"kamu"
,
"user"
:
22
}
},
{
"pk"
:
1
,
"model"
:
"one.sshkey"
,
"fields"
:
{
"user"
:
1
,
...
...
miscellaneous/dump.sh
View file @
11955626
#!/bin/bash
/opt/webadmin/cloud/manage.py dumpdata
-e
admin
-e
one.userclouddetails
-e
auth.permission
-e
contenttypes
-e
sessions
-e
djcelery
--format
=
json
--indent
=
2|grep
-v
'"password":'
|sed
-e
's/^.*"smb_password":.*$/"smb_password": "kamu",/'
-e
's/BEGIN RSA PRIVATE.*END RSA/xxx/'
>
/opt/webadmin/cloud/miscellaneous/dump.json
/opt/webadmin/cloud/manage.py dumpdata
-e
admin
-e
auth.permission
-e
contenttypes
-e
sessions
-e
djcelery
--format
=
json
--indent
=
2|grep
-v
'"password":'
|sed
-e
's/^.*"smb_password":.*$/"smb_password": "kamu",/'
-e
's/BEGIN RSA PRIVATE.*END RSA/xxx/'
>
/opt/webadmin/cloud/miscellaneous/dump.json
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