Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Ensure creation of plugins with --plugins flag
Browse files Browse the repository at this point in the history
This commit adds changes  to ensure plugins can be created with --plugins flag.

Closes #995
  • Loading branch information
sonicaj committed Jul 28, 2019
1 parent 9b78b79 commit 80c9431
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iocage_lib/ioc_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import subprocess as su
import requests
import urllib.parse
import uuid

import iocage_lib.ioc_common
import iocage_lib.ioc_create
Expand Down Expand Up @@ -897,6 +898,7 @@ def fetch_plugin_index(
self.plugin = self.__fetch_validate_plugin__(
self.plugin.lower(), plugins_ordered_dict
)
self.jail = f'{self.plugin}_{str(uuid.uuid4())[:4]}'

# We now run the fetch the user requested
self.fetch_plugin(props, 0, accept_license)
Expand Down

0 comments on commit 80c9431

Please sign in to comment.