Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The space is not enough for mock_chroot_tmpfs to build xenserver #678

Open
ghost opened this issue Oct 20, 2015 · 0 comments
Open

The space is not enough for mock_chroot_tmpfs to build xenserver #678

ghost opened this issue Oct 20, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 20, 2015

You can modify the file:

vi  /etc/mock/site-defaults.cfg

enable the plugin using this settings:

config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts'] = {}
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '768m'
config_opts['plugin_conf']['tmpfs_opts']['mode'] = '0755'
config_opts['plugin_conf']['tmpfs_opts']['keep_mounted'] = False

Note: change the size of 'max_fs_size':

config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '768m'

to

config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '2768m'

that's all~~~

hopefully it will be useful .

@ghost ghost closed this as completed Oct 28, 2015
@ghost ghost reopened this Oct 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants