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

Initial alternate architecture fetch/create support #229

Merged
merged 4 commits into from
Aug 19, 2020

Conversation

JRGTH
Copy link
Collaborator

@JRGTH JRGTH commented Jul 24, 2020

This PR adds Initial architecture fetch/create support as an experimental new feature, only 32-Bit(i386) is supported.

Usage examples:

Bootstrap an alternate release/arch(--i386|--32bit):

root@nas-mserver: ~# bastille bootstrap 12.1-RELEASE --i386
Bootstrapping FreeBSD distfiles...
/mnt/storage/bastille/cache/12.1-RELEASE-i386/MANIFEST         782  B 5920 kBps    00s
/mnt/storage/bastille/cache/12.1-RELEASE-i386/base.txz         142 MB  476 kBps 05m06s
Validated checksum for 12.1-RELEASE-i386:base.txz.
MANIFEST:4c978fb0d9c4f65e0089718f0e905fd5a8c2651582de050df6b7f49a8481a169
DOWNLOAD:4c978fb0d9c4f65e0089718f0e905fd5a8c2651582de050df6b7f49a8481a169
Extracting FreeBSD 12.1-RELEASE-i386 base.txz.

Bootstrap successful.
See 'bastille --help' for available commands.

Create a jail from an alternate release/arch:

root@nas-mserver: ~# bastille create folsom 12.1-RELEASE-i386 10.0.0.10 em0
Valid: (10.0.0.10).
Valid: (em0).

NAME: folsom.
IP: 10.0.0.10.
INTERFACE: em0.
RELEASE: 12.1-RELEASE-i386.

syslogd_flags: -s -> -ss
sendmail_enable: NO -> NO
sendmail_submit_enable: YES -> NO
sendmail_outbound_enable: YES -> NO
sendmail_msp_queue_enable: YES -> NO
cron_flags:  -> -J 60

Destroy an alternate release/arch:

root@nas-mserver: ~# bastille destroy 12.1-RELEASE-i386
Deleting base: 12.1-RELEASE-i386.

Regards

@gallexme
Copy link

Looks good so far 👍

@cedwards cedwards merged commit 3ebfb69 into BastilleBSD:master Aug 19, 2020
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

Successfully merging this pull request may close these issues.

3 participants