mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 23:48:24 +00:00
feat(LXC): container support for Frappe
This commit is contained in:
parent
b9f750fc42
commit
ea73913115
@ -404,6 +404,11 @@ def parse_commandline_args():
|
|||||||
help=argparse.SUPPRESS
|
help=argparse.SUPPRESS
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# LXC Support
|
||||||
|
parser.add_argument('--container', dest='container', default=False, action='store_true',
|
||||||
|
help='Use if you\'re creating inside LXC'
|
||||||
|
)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
return args
|
return args
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
- { role: locale, tags: locale }
|
- { role: locale, tags: locale }
|
||||||
- { role: mariadb, tags: mariadb }
|
- { role: mariadb, tags: mariadb }
|
||||||
- { role: nodejs, tags: nodejs }
|
- { role: nodejs, tags: nodejs }
|
||||||
- { role: swap, tags: swap, when: production }
|
- { role: swap, tags: swap, when: production and not container }
|
||||||
- { role: logwatch, tags: logwatch, when: production }
|
- { role: logwatch, tags: logwatch, when: production }
|
||||||
- { role: bash_screen_wall, tags: bash_screen_wall, when: production }
|
- { role: bash_screen_wall, tags: bash_screen_wall, when: production }
|
||||||
- { role: frappe_selinux, tags: frappe_selinux, when: production }
|
- { role: frappe_selinux, tags: frappe_selinux, when: production }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user